home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Tape Archive
(archive/tar).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Tape Archive (archive/tar)
| magic
| Supported |
100%
| file
| tar archive
| default
| |
99%
| file
| tar archive (old), directory !Forthmacs.risc_os.installjob., mode 700, uid 0, gid 0, size 0, seconds 6143620725, comment: Archie
| default
| |
98%
| file
| data
| default
| |
100%
| TrID
| TAR - Tape ARchive (directory)
| default
| |
100%
| lsar
| Tar
| default
| |
100%
| gt2
| Kopftext: '!Forthmacs.risc_os.installjob.'
| default (weak)
| |
100%
| disktype
| Pre-POSIX tar archive
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 21 46 6f 72 74 68 6d 61 | 63 73 2e 72 69 73 63 5f |!Forthma|cs.risc_|
|00000010| 6f 73 2e 69 6e 73 74 61 | 6c 6c 6a 6f 62 2e 00 00 |os.insta|lljob...|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 00 00 00 00 20 20 20 37 | 30 30 00 00 20 20 20 20 |.... 7|00.. |
|00000070| 20 30 00 00 20 20 20 20 | 20 30 00 00 20 20 20 20 | 0.. | 0.. |
|00000080| 20 20 20 20 20 20 30 00 | 20 36 31 34 33 36 32 30 | 0.| 6143620|
|00000090| 37 32 35 00 20 31 37 31 | 33 30 00 20 35 00 00 00 |725. 171|30. 5...|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 41 72 63 68 69 65 20 | 00 33 37 37 37 37 37 37 |.Archie |.3777777|
|00000110| 36 35 30 36 00 33 31 32 | 34 30 35 32 30 36 31 37 |6506.312|40520617|
|00000120| 00 20 20 20 20 20 20 20 | 20 20 20 30 00 34 36 20 |. | 0.46 |
|00000130| 63 61 38 32 61 31 38 66 | 00 00 00 00 00 00 00 00 |ca82a18f|........|
|00000140| 00 00 00 00 00 41 00 00 | 00 00 00 00 00 00 00 00 |.....A..|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 21 46 6f 72 74 68 6d 61 | 63 73 2e 72 69 73 63 5f |!Forthma|cs.risc_|
|00000210| 6f 73 2e 69 6e 73 74 61 | 6c 6c 6a 6f 62 2e 54 6f |os.insta|lljob.To|
|00000220| 6f 6c 73 31 00 00 00 00 | 00 00 00 00 00 00 00 00 |ols1....|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 20 20 20 36 | 30 30 00 00 20 20 20 20 |.... 6|00.. |
|00000270| 20 30 00 00 20 20 20 20 | 20 30 00 00 20 20 20 20 | 0.. | 0.. |
|00000280| 20 20 20 20 31 31 34 00 | 20 36 31 34 30 31 31 36 | 114.| 6140116|
|00000290| 33 30 31 00 20 32 31 31 | 32 35 00 20 30 00 00 00 |301. 211|25. 0...|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 41 72 63 68 69 65 20 | 00 33 37 37 37 37 37 37 |.Archie |.3777777|
|00000310| 37 35 30 36 00 33 30 34 | 36 35 35 32 32 36 33 37 |7506.304|65522637|
|00000320| 00 20 20 20 20 20 20 20 | 20 20 20 33 00 34 36 20 |. | 3.46 |
|00000330| 63 34 64 36 61 35 39 66 | 00 20 20 20 20 20 20 20 |c4d6a59f|. |
|00000340| 20 20 20 30 20 41 00 00 | 00 00 00 00 00 00 00 00 | 0 A..|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 2e 28 20 54 68 65 20 73 | 74 61 6e 64 61 72 64 20 |.( The s|tandard |
|00000410| 64 69 73 74 72 69 62 75 | 74 69 6f 6e 20 6f 66 20 |distribu|tion of |
|00000420| 74 68 65 20 74 6f 6f 6c | 73 31 20 61 72 63 68 69 |the tool|s1 archi|
|00000430| 76 65 20 68 61 73 20 62 | 65 65 6e 20 69 6e 73 74 |ve has b|een inst|
|00000440| 61 6c 6c 65 64 2e 29 20 | 63 72 0a 20 00 00 00 00 |alled.) |cr. ....|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 21 46 6f 72 74 68 6d 61 | 63 73 2e 65 78 74 65 6e |!Forthma|cs.exten|
|00000610| 64 2e 62 72 65 61 6b 70 | 74 00 00 00 00 00 00 00 |d.breakp|t.......|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 20 20 20 36 | 30 30 00 00 20 20 20 20 |.... 6|00.. |
|00000670| 20 30 00 00 20 20 20 20 | 20 30 00 00 20 20 20 20 | 0.. | 0.. |
|00000680| 20 20 31 37 30 37 33 00 | 20 36 31 35 37 33 37 32 | 17073.| 6157372|
|00000690| 34 37 34 00 20 31 37 32 | 33 35 00 20 30 00 00 00 |474. 172|35. 0...|
|000006a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000700| 00 41 72 63 68 69 65 20 | 00 33 37 37 37 37 37 37 |.Archie |.3777777|
|00000710| 37 35 30 36 00 33 33 34 | 36 33 32 33 32 36 34 37 |7506.334|63232647|
|00000720| 00 20 20 20 20 20 20 20 | 20 20 20 33 00 34 36 20 |. | 3.46 |
|00000730| 64 63 63 64 33 35 61 37 | 00 20 20 20 20 20 20 20 |dccd35a7|. |
|00000740| 20 20 20 30 20 41 00 00 | 00 00 00 00 00 00 00 00 | 0 A..|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000800| 5c 20 41 73 73 65 6d 62 | 6c 79 20 6c 61 6e 67 75 |\ Assemb|ly langu|
|00000810| 61 67 65 20 62 72 65 61 | 6b 70 6f 69 6e 74 73 0a |age brea|kpoints.|
|00000820| 5c 0a 5c 20 46 69 6c 65 | 73 20 6e 65 65 64 65 64 |\.\ File|s needed|
|00000830| 3a 0a 5c 0a 5c 20 6f 62 | 6a 65 63 74 73 2e 66 74 |:.\.\ ob|jects.ft|
|00000840| 68 20 20 20 20 20 20 20 | 20 20 20 20 44 65 66 69 |h | Defi|
|00000850| 6e 69 6e 67 20 77 6f 72 | 64 73 20 66 6f 72 20 6d |ning wor|ds for m|
|00000860| 75 6c 74 69 70 6c 65 20 | 63 6f 64 65 20 66 69 65 |ultiple |code fie|
|00000870| 6c 64 20 77 6f 72 64 73 | 0a 5c 20 72 65 67 69 73 |ld words|.\ regis|
|00000880| 74 65 72 73 2e 66 74 68 | 20 20 20 20 20 20 20 20 |ters.fth| |
|00000890| 20 44 65 66 69 6e 65 73 | 20 74 68 65 20 72 65 67 | Defines| the reg|
|000008a0| 69 73 74 65 72 20 73 61 | 76 65 20 61 72 65 61 2e |ister sa|ve area.|
|000008b0| 0a 5c 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.\ | |
|000008c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000008d0| 20 43 50 55 20 64 65 70 | 65 6e 64 65 6e 74 0a 5c | CPU dep|endent.\|
|000008e0| 20 63 61 74 63 68 65 78 | 63 2e 66 74 68 20 20 20 | catchex|c.fth |
|000008f0| 20 20 20 20 20 20 20 53 | 61 76 65 73 20 74 68 65 | S|aves the|
|00000900| 20 6d 61 63 68 69 6e 65 | 20 73 74 61 74 65 20 69 | machine| state i|
|00000910| 6e 20 74 68 65 20 72 65 | 67 69 73 74 65 72 20 73 |n the re|gister s|
|00000920| 61 76 65 20 61 72 65 61 | 2e 0a 5c 20 20 20 20 20 |ave area|..\ |
|00000930| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000940| 20 20 20 20 20 20 20 20 | 20 20 43 50 55 20 26 20 | | CPU & |
|00000950| 6f 70 65 72 61 74 69 6e | 67 20 73 79 73 74 65 6d |operatin|g system|
|00000960| 20 64 65 70 65 6e 64 65 | 6e 74 0a 5c 20 6d 61 63 | depende|nt.\ mac|
|00000970| 68 64 65 70 2e 66 74 68 | 20 20 20 20 20 20 20 20 |hdep.fth| |
|00000980| 20 20 20 44 65 66 69 6e | 65 73 20 43 50 55 2d 64 | Defin|es CPU-d|
|00000990| 65 70 65 6e 64 65 6e 74 | 20 77 6f 72 64 73 20 66 |ependent| words f|
|000009a0| 6f 72 20 70 6c 61 63 69 | 6e 67 20 62 72 65 61 6b |or placi|ng break|
|000009b0| 70 6f 69 6e 74 73 0a 5c | 20 20 20 20 20 20 20 20 |points.\| |
|000009c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 61 | | a|
|000009d0| 6e 64 20 66 69 6e 64 69 | 6e 67 20 74 68 65 20 6e |nd findi|ng the n|
|000009e0| 65 78 74 20 69 6e 73 74 | 72 75 63 74 69 6f 6e 2e |ext inst|ruction.|
|000009f0| 0a 5c 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.\ | |
|00000a00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000a10| 20 43 50 55 2d 64 65 70 | 65 6e 64 65 6e 74 0a 5c | CPU-dep|endent.\|
|00000a20| 20 62 72 65 61 6b 70 74 | 2e 66 74 68 20 20 20 20 | breakpt|.fth |
|00000a30| 20 20 20 20 20 20 20 28 | 54 68 69 73 20 66 69 6c | (|This fil|
|00000a40| 65 29 20 4d 61 6e 61 67 | 65 73 20 74 68 65 20 6c |e) Manag|es the l|
|00000a50| 69 73 74 20 6f 66 20 62 | 72 65 61 6b 70 6f 69 6e |ist of b|reakpoin|
|00000a60| 74 73 2c 20 68 61 6e 64 | 6c 65 73 0a 5c 20 20 20 |ts, hand|les.\ |
|00000a70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000a80| 20 20 20 20 73 69 6e 67 | 6c 65 2d 73 74 65 70 70 | sing|le-stepp|
|00000a90| 69 6e 67 2e 20 20 20 20 | 20 20 20 20 4d 61 63 68 |ing. | Mach|
|00000aa0| 69 6e 65 2d 69 6e 64 65 | 70 65 6e 64 65 6e 74 0a |ine-inde|pendent.|
|00000ab0| 0a 6e 65 65 64 73 20 61 | 72 72 61 79 20 65 78 74 |.needs a|rray ext|
|00000ac0| 65 6e 64 2f 61 72 72 61 | 79 2e 66 74 68 0a 0a 6f |end/arra|y.fth..o|
|00000ad0| 6e 6c 79 20 66 6f 72 74 | 68 20 61 6c 73 6f 20 68 |nly fort|h also h|
|00000ae0| 69 64 64 65 6e 20 61 6c | 73 6f 20 73 79 73 74 65 |idden al|so syste|
|00000af0| 6d 20 20 61 6c 73 6f 20 | 62 75 67 20 61 6c 73 6f |m also |bug also|
|00000b00| 0a 68 69 64 64 65 6e 20 | 64 65 66 69 6e 69 74 69 |.hidden |definiti|
|00000b10| 6f 6e 73 0a 0a 64 65 63 | 69 6d 61 6c 0a 0a 32 30 |ons..dec|imal..20|
|00000b20| 20 63 6f 6e 73 74 61 6e | 74 20 6d 61 78 23 62 72 | constan|t max#br|
|00000b30| 65 61 6b 70 6f 69 6e 74 | 73 0a 6d 61 78 23 62 72 |eakpoint|s.max#br|
|00000b40| 65 61 6b 70 6f 69 6e 74 | 73 20 61 72 72 61 79 20 |eakpoint|s array |
|00000b50| 3e 62 72 65 61 6b 70 6f | 69 6e 74 0a 6d 61 78 23 |>breakpo|int.max#|
|00000b60| 62 72 65 61 6b 70 6f 69 | 6e 74 73 20 61 72 72 61 |breakpoi|nts arra|
|00000b70| 79 20 3e 73 61 76 65 64 | 2d 6f 70 63 6f 64 65 0a |y >saved|-opcode.|
|00000b80| 0a 32 20 61 72 72 61 79 | 20 3e 73 74 65 70 2d 62 |.2 array| >step-b|
|00000b90| 72 65 61 6b 70 6f 69 6e | 74 0a 32 20 61 72 72 61 |reakpoin|t.2 arra|
|00000ba0| 79 20 3e 73 74 65 70 2d | 73 61 76 65 64 2d 6f 70 |y >step-|saved-op|
|00000bb0| 63 6f 64 65 0a 76 61 72 | 69 61 62 6c 65 20 23 62 |code.var|iable #b|
|00000bc0| 72 65 61 6b 70 6f 69 6e | 74 73 0a 76 61 72 69 61 |reakpoin|ts.varia|
|00000bd0| 62 6c 65 20 23 73 74 65 | 70 73 0a 76 61 72 69 61 |ble #ste|ps.varia|
|00000be0| 62 6c 65 20 70 63 2d 61 | 74 2d 62 72 65 61 6b 70 |ble pc-a|t-breakp|
|00000bf0| 6f 69 6e 74 0a 76 61 72 | 69 61 62 6c 65 20 62 72 |oint.var|iable br|
|00000c00| 65 61 6b 70 6f 69 6e 74 | 73 2d 69 6e 73 74 61 6c |eakpoint|s-instal|
|00000c10| 6c 65 64 0a 0a 3a 20 69 | 6e 69 74 2d 62 72 65 61 |led..: i|nit-brea|
|00000c20| 6b 70 6f 69 6e 74 73 20 | 20 20 20 20 20 28 20 2d |kpoints | ( -|
|00000c30| 2d 20 29 0a 20 20 20 20 | 20 20 20 20 23 73 74 65 |- ). | #ste|
|00000c40| 70 73 20 6f 66 66 0a 20 | 20 20 20 20 20 20 20 23 |ps off. | #|
|00000c50| 62 72 65 61 6b 70 6f 69 | 6e 74 73 20 6f 66 66 0a |breakpoi|nts off.|
|00000c60| 20 20 20 20 20 20 20 20 | 30 20 3e 73 74 65 70 2d | |0 >step-|
|00000c70| 62 72 65 61 6b 70 6f 69 | 6e 74 20 6f 66 66 0a 20 |breakpoi|nt off. |
|00000c80| 20 20 20 20 20 20 20 31 | 20 3e 73 74 65 70 2d 62 | 1| >step-b|
|00000c90| 72 65 61 6b 70 6f 69 6e | 74 20 6f 66 66 0a 20 20 |reakpoin|t off. |
|00000ca0| 20 20 20 20 20 20 62 72 | 65 61 6b 70 6f 69 6e 74 | br|eakpoint|
|00000cb0| 73 2d 69 6e 73 74 61 6c | 6c 65 64 20 6f 66 66 20 |s-instal|led off |
|00000cc0| 3b 0a 69 6e 69 74 2d 62 | 72 65 61 6b 70 6f 69 6e |;.init-b|reakpoin|
|00000cd0| 74 73 0a 0a 5c 20 53 65 | 61 72 63 68 20 74 68 65 |ts..\ Se|arch the|
|00000ce0| 20 62 72 65 61 6b 70 6f | 69 6e 74 20 74 61 62 6c | breakpo|int tabl|
|00000cf0| 65 20 74 6f 20 73 65 65 | 20 69 66 20 61 64 72 20 |e to see| if adr |
|00000d00| 69 73 20 62 72 65 61 6b | 70 6f 69 6e 74 65 64 2e |is break|pointed.|
|00000d10| 0a 5c 20 49 66 20 69 74 | 20 69 73 2c 20 72 65 74 |.\ If it| is, ret|
|00000d20| 75 72 6e 20 74 68 65 20 | 69 6e 64 65 78 20 69 6e |urn the |index in|
|00000d30| 74 6f 20 74 68 65 20 74 | 61 62 6c 65 2c 20 6f 72 |to the t|able, or|
|00000d40| 20 2d 31 20 69 66 20 69 | 74 27 73 20 6e 6f 74 20 | -1 if i|t's not |
|00000d50| 74 68 65 72 65 2e 0a 3a | 20 66 69 6e 64 2d 62 72 |there..:| find-br|
|00000d60| 65 61 6b 70 6f 69 6e 74 | 20 20 20 20 20 20 20 28 |eakpoint| (|
|00000d70| 20 61 64 72 20 2d 2d 20 | 62 72 65 61 6b 70 6f 69 | adr -- |breakpoi|
|00000d80| 6e 74 23 7c 2d 31 20 29 | 0a 20 20 20 20 20 20 20 |nt#|-1 )|. |
|00000d90| 20 2d 31 20 73 77 61 70 | 20 20 23 62 72 65 61 6b | -1 swap| #break|
|00000da0| 70 6f 69 6e 74 73 20 40 | 0a 20 20 20 20 20 20 20 |points @|. |
|00000db0| 20 30 20 3f 64 6f 20 20 | 20 64 75 70 20 20 69 20 | 0 ?do | dup i |
|00000dc0| 3e 62 72 65 61 6b 70 6f | 69 6e 74 20 40 20 20 3d |>breakpo|int @ =|
|00000dd0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00000de0| 20 69 66 20 20 6e 69 70 | 20 69 20 73 77 61 70 20 | if nip| i swap |
|00000df0| 6c 65 61 76 65 20 20 74 | 68 65 6e 0a 20 20 20 20 |leave t|hen. |
|00000e00| 20 20 20 20 6c 6f 6f 70 | 20 20 28 20 62 72 65 61 | loop| ( brea|
|00000e10| 6b 70 6f 69 6e 74 23 20 | 7c 20 2d 31 20 29 0a 20 |kpoint# || -1 ). |
|00000e20| 20 20 20 20 20 20 20 64 | 72 6f 70 20 3b 0a 0a 5c | d|rop ;..\|
|00000e30| 20 45 6e 74 65 72 20 61 | 20 62 72 65 61 6b 70 6f | Enter a| breakpo|
|00000e40| 69 6e 74 20 61 74 20 61 | 64 64 72 2e 20 20 49 66 |int at a|ddr. If|
|00000e50| 20 61 64 72 20 69 73 20 | 61 6c 72 65 61 64 79 20 | adr is |already |
|00000e60| 62 72 65 61 6b 70 6f 69 | 6e 74 65 64 2c 0a 5c 20 |breakpoi|nted,.\ |
|00000e70| 64 6f 6e 27 74 20 65 6e | 74 65 72 20 69 74 20 74 |don't en|ter it t|
|00000e80| 77 69 63 65 2e 0a 3a 20 | 73 65 74 2d 62 72 65 61 |wice..: |set-brea|
|00000e90| 6b 70 6f 69 6e 74 20 20 | 28 20 61 64 72 20 2d 2d |kpoint |( adr --|
|00000ea0| 20 29 0a 20 20 20 20 20 | 20 20 20 64 75 70 20 66 | ). | dup f|
|00000eb0| 69 6e 64 2d 62 72 65 61 | 6b 70 6f 69 6e 74 20 20 |ind-brea|kpoint |
|00000ec0| 30 3c 20 20 20 20 20 20 | 20 20 20 28 20 61 64 72 |0< | ( adr|
|00000ed0| 20 62 72 65 61 6b 70 6f | 69 6e 74 23 20 29 0a 20 | breakpo|int# ). |
|00000ee0| 20 20 20 20 20 20 20 69 | 66 20 20 20 20 20 20 23 | i|f #|
|00000ef0| 62 72 65 61 6b 70 6f 69 | 6e 74 73 20 40 20 6d 61 |breakpoi|nts @ ma|
|00000f00| 78 23 62 72 65 61 6b 70 | 6f 69 6e 74 73 20 3e 3d |x#breakp|oints >=|
|00000f10| 20 69 66 20 64 23 20 2d | 33 32 31 20 74 68 72 6f | if d# -|321 thro|
|00000f20| 77 20 74 68 65 6e 0a 20 | 20 20 20 20 20 20 20 20 |w then. | |
|00000f30| 20 20 20 20 20 20 20 23 | 62 72 65 61 6b 70 6f 69 | #|breakpoi|
|00000f40| 6e 74 73 20 40 20 20 31 | 20 23 62 72 65 61 6b 70 |nts @ 1| #breakp|
|00000f50| 6f 69 6e 74 73 20 2b 21 | 20 20 28 20 62 72 65 61 |oints +!| ( brea|
|00000f60| 6b 70 6f 69 6e 74 23 20 | 29 0a 20 20 20 20 20 20 |kpoint# |). |
|00000f70| 20 20 20 20 20 20 20 20 | 20 20 3e 62 72 65 61 6b | | >break|
|00000f80| 70 6f 69 6e 74 20 21 0a | 20 20 20 20 20 20 20 20 |point !.| |
|00000f90| 65 6c 73 65 20 20 20 20 | 64 72 6f 70 0a 20 20 20 |else |drop. |
|00000fa0| 20 20 20 20 20 74 68 65 | 6e 20 3b 0a 0a 5c 20 44 | the|n ;..\ D|
|00000fb0| 69 73 70 6c 61 79 20 74 | 68 65 20 62 72 65 61 6b |isplay t|he break|
|00000fc0| 70 6f 69 6e 74 20 74 61 | 62 6c 65 2e 0a 3a 20 73 |point ta|ble..: s|
|00000fd0| 68 6f 77 2d 62 72 65 61 | 6b 70 6f 69 6e 74 73 20 |how-brea|kpoints |
|00000fe0| 28 20 2d 2d 20 29 0a 20 | 20 20 20 20 20 20 20 23 |( -- ). | #|
|00000ff0| 62 72 65 61 6b 70 6f 69 | 6e 74 73 20 40 20 20 30 |breakpoi|nts @ 0|
|00001000| 20 20 3f 64 6f 20 20 69 | 20 3e 62 72 65 61 6b 70 | ?do i| >breakp|
|00001010| 6f 69 6e 74 20 40 20 75 | 2e 20 20 6c 6f 6f 70 20 |oint @ u|. loop |
|00001020| 3b 0a 0a 5c 20 49 66 20 | 74 68 65 20 62 72 65 61 |;..\ If |the brea|
|00001030| 6b 70 6f 69 6e 74 20 69 | 73 20 69 6e 73 74 61 6c |kpoint i|s instal|
|00001040| 6c 65 64 20 69 6e 20 6d | 65 6d 6f 72 79 2c 20 74 |led in m|emory, t|
|00001050| 61 6b 65 20 69 74 20 6f | 75 74 2e 0a 3a 20 72 65 |ake it o|ut..: re|
|00001060| 70 61 69 72 2d 62 72 65 | 61 6b 70 6f 69 6e 74 20 |pair-bre|akpoint |
|00001070| 20 28 20 62 72 65 61 6b | 70 6f 69 6e 74 23 20 2d | ( break|point# -|
|00001080| 2d 20 29 0a 20 20 20 20 | 20 20 20 20 64 75 70 20 |- ). | dup |
|00001090| 3e 62 72 65 61 6b 70 6f | 69 6e 74 20 40 20 61 74 |>breakpo|int @ at|
|000010a0| 2d 62 72 65 61 6b 70 6f | 69 6e 74 3f 0a 20 20 20 |-breakpo|int?. |
|000010b0| 20 20 20 20 20 69 66 20 | 20 64 75 70 20 3e 73 61 | if | dup >sa|
|000010c0| 76 65 64 2d 6f 70 63 6f | 64 65 20 40 20 20 20 6f |ved-opco|de @ o|
|000010d0| 76 65 72 20 3e 62 72 65 | 61 6b 70 6f 69 6e 74 20 |ver >bre|akpoint |
|000010e0| 40 20 20 6f 70 21 20 20 | 20 74 68 65 6e 0a 20 20 |@ op! | then. |
|000010f0| 20 20 20 20 20 20 64 72 | 6f 70 20 3b 0a 0a 5c 20 | dr|op ;..\ |
|00001100| 52 65 6d 6f 76 65 20 74 | 68 65 20 62 72 65 61 6b |Remove t|he break|
|00001110| 70 6f 69 6e 74 20 61 74 | 20 61 64 72 20 66 72 6f |point at| adr fro|
|00001120| 6d 20 74 68 65 20 74 61 | 62 6c 65 2c 20 69 66 20 |m the ta|ble, if |
|00001130| 69 74 27 73 20 74 68 65 | 72 65 2e 0a 3a 20 72 65 |it's the|re..: re|
|00001140| 6d 6f 76 65 2d 62 72 65 | 61 6b 70 6f 69 6e 74 20 |move-bre|akpoint |
|00001150| 20 28 20 61 64 72 20 2d | 2d 20 29 0a 20 20 20 20 | ( adr -|- ). |
|00001160| 20 20 20 20 66 69 6e 64 | 2d 62 72 65 61 6b 70 6f | find|-breakpo|
|00001170| 69 6e 74 20 20 28 20 62 | 72 65 61 6b 70 6f 69 6e |int ( b|reakpoin|
|00001180| 74 23 20 29 0a 20 20 20 | 20 20 20 20 20 64 75 70 |t# ). | dup|
|00001190| 20 30 3c 20 20 28 20 62 | 72 65 61 6b 70 6f 69 6e | 0< ( b|reakpoin|
|000011a0| 74 23 20 66 6c 61 67 20 | 29 0a 20 20 20 20 20 20 |t# flag |). |
|000011b0| 20 20 69 66 20 20 20 20 | 20 20 64 72 6f 70 0a 20 | if | drop. |
|000011c0| 20 20 20 20 20 20 20 65 | 6c 73 65 20 20 20 20 28 | e|lse (|
|000011d0| 20 62 72 65 61 6b 70 6f | 69 6e 74 23 20 29 0a 20 | breakpo|int# ). |
|000011e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 64 | | d|
|000011f0| 75 70 20 72 65 70 61 69 | 72 2d 62 72 65 61 6b 70 |up repai|r-breakp|
|00001200| 6f 69 6e 74 0a 20 20 20 | 20 20 20 20 20 20 20 20 |oint. | |
|00001210| 20 20 20 20 20 5c 20 53 | 68 75 66 66 6c 65 20 74 | \ S|huffle t|
|00001220| 68 65 20 72 65 6d 61 69 | 6e 69 6e 67 20 62 72 65 |he remai|ning bre|
|00001230| 61 6b 70 6f 69 6e 74 73 | 20 64 6f 77 6e 20 74 6f |akpoints| down to|
|00001240| 20 66 69 6c 6c 20 74 68 | 65 20 76 61 63 61 74 65 | fill th|e vacate|
|00001250| 64 20 73 6c 6f 74 0a 20 | 20 20 20 20 20 20 20 20 |d slot. | |
|00001260| 20 20 20 20 20 20 20 23 | 62 72 65 61 6b 70 6f 69 | #|breakpoi|
|00001270| 6e 74 73 20 40 20 20 73 | 77 61 70 20 31 2b 20 20 |nts @ s|wap 1+ |
|00001280| 28 20 6c 61 73 74 2d 62 | 72 65 61 6b 70 6f 69 6e |( last-b|reakpoin|
|00001290| 74 23 20 62 72 65 61 6b | 70 6f 69 6e 74 23 20 29 |t# break|point# )|
|000012a0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000012b0| 20 3f 64 6f 20 20 20 69 | 20 3e 62 72 65 61 6b 70 | ?do i| >breakp|
|000012c0| 6f 69 6e 74 20 20 40 20 | 20 69 20 31 2d 20 3e 62 |oint @ | i 1- >b|
|000012d0| 72 65 61 6b 70 6f 69 6e | 74 20 20 21 20 20 6c 6f |reakpoin|t ! lo|
|000012e0| 6f 70 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |op. | |
|000012f0| 20 20 20 2d 31 20 23 62 | 72 65 61 6b 70 6f 69 6e | -1 #b|reakpoin|
|00001300| 74 73 20 2b 21 0a 20 20 | 20 20 20 20 20 20 74 68 |ts +!. | th|
|00001310| 65 6e 20 3b 0a 0a 5c 20 | 57 68 65 6e 20 77 65 20 |en ;..\ |When we |
|00001320| 72 65 73 74 61 72 74 20 | 74 68 65 20 70 72 6f 67 |restart |the prog|
|00001330| 72 61 6d 2c 20 77 65 20 | 68 61 76 65 20 74 6f 20 |ram, we |have to |
|00001340| 70 75 74 20 62 72 65 61 | 6b 70 6f 69 6e 74 73 20 |put brea|kpoints |
|00001350| 61 74 20 61 6c 6c 20 74 | 68 65 0a 5c 20 70 6c 61 |at all t|he.\ pla|
|00001360| 63 65 73 20 69 6e 20 74 | 68 65 20 62 72 65 61 6b |ces in t|he break|
|00001370| 70 6f 69 6e 74 20 6c 69 | 73 74 2e 20 20 49 66 20 |point li|st. If |
|00001380| 74 68 65 72 65 20 69 73 | 20 61 20 62 72 65 61 6b |there is| a break|
|00001390| 70 6f 69 6e 74 20 61 74 | 20 74 68 65 0a 5c 20 63 |point at| the.\ c|
|000013a0| 75 72 72 65 6e 74 20 50 | 43 2c 20 77 65 20 68 61 |urrent P|C, we ha|
|000013b0| 76 65 20 74 6f 20 74 65 | 6d 70 6f 72 61 72 69 6c |ve to te|mporaril|
|000013c0| 79 20 6e 6f 74 20 70 75 | 74 20 6f 6e 65 20 74 68 |y not pu|t one th|
|000013d0| 65 72 65 2c 20 62 65 63 | 61 75 73 65 20 77 65 0a |ere, bec|ause we.|
|000013e0| 5c 20 77 61 6e 74 20 74 | 6f 20 65 78 65 63 75 74 |\ want t|o execut|
|000013f0| 65 20 69 74 20 61 74 20 | 6c 65 61 73 74 20 6f 6e |e it at |least on|
|00001400| 63 65 20 28 70 72 65 73 | 75 6d 61 62 6c 79 20 77 |ce (pres|umably w|
|00001410| 65 20 6a 75 73 74 20 68 | 69 74 20 69 74 29 2e 0a |e just h|it it)..|
|00001420| 5c 20 53 6f 20 77 65 20 | 68 61 76 65 20 74 6f 20 |\ So we |have to |
|00001430| 73 69 6e 67 6c 65 20 73 | 74 65 70 20 62 79 20 70 |single s|tep by p|
|00001440| 75 74 74 69 6e 67 20 62 | 72 65 61 6b 70 6f 69 6e |utting b|reakpoin|
|00001450| 74 73 20 61 74 20 74 68 | 65 20 6e 65 78 74 20 69 |ts at th|e next i|
|00001460| 6e 73 74 72 75 63 74 69 | 6f 6e 2c 0a 5c 20 74 68 |nstructi|on,.\ th|
|00001470| 65 6e 20 77 68 65 6e 20 | 77 65 20 68 69 74 20 74 |en when |we hit t|
|00001480| 68 61 74 20 69 6e 73 74 | 72 75 63 74 69 6f 6e 2c |hat inst|ruction,|
|00001490| 20 77 65 20 70 75 74 20 | 74 68 65 20 62 72 65 61 | we put |the brea|
|000014a0| 6b 70 6f 69 6e 74 20 61 | 74 20 74 68 65 20 70 72 |kpoint a|t the pr|
|000014b0| 65 76 69 6f 75 73 0a 5c | 20 70 6c 61 63 65 2e 20 |evious.\| place. |
|000014c0| 20 49 6e 20 66 61 63 74 | 2c 20 74 68 65 20 22 6e | In fact|, the "n|
|000014d0| 65 78 74 20 69 6e 73 74 | 72 75 63 74 69 6f 6e 22 |ext inst|ruction"|
|000014e0| 20 6d 61 79 20 61 63 74 | 75 61 6c 6c 79 20 62 65 | may act|ually be|
|000014f0| 20 32 20 69 6e 73 74 72 | 75 63 74 69 6f 6e 73 0a | 2 instr|uctions.|
|00001500| 5c 20 62 65 63 61 75 73 | 65 20 74 68 65 20 63 75 |\ becaus|e the cu|
|00001510| 72 72 65 6e 74 20 69 6e | 73 74 72 75 63 74 69 6f |rrent in|structio|
|00001520| 6e 20 63 6f 75 6c 64 20 | 62 65 20 61 20 62 72 61 |n could |be a bra|
|00001530| 6e 63 68 2e 0a 0a 3a 20 | 69 6e 73 74 61 6c 6c 2d |nch...: |install-|
|00001540| 62 72 65 61 6b 70 6f 69 | 6e 74 73 20 20 28 20 2d |breakpoi|nts ( -|
|00001550| 2d 20 29 0a 20 20 20 20 | 20 20 20 20 62 72 65 61 |- ). | brea|
|00001560| 6b 70 6f 69 6e 74 73 2d | 69 6e 73 74 61 6c 6c 65 |kpoints-|installe|
|00001570| 64 20 40 20 3f 65 78 69 | 74 0a 20 20 20 20 20 20 |d @ ?exi|t. |
|00001580| 20 20 62 72 65 61 6b 70 | 6f 69 6e 74 73 2d 69 6e | breakp|oints-in|
|00001590| 73 74 61 6c 6c 65 64 20 | 6f 6e 0a 20 20 20 20 20 |stalled |on. |
|000015a0| 20 20 20 23 62 72 65 61 | 6b 70 6f 69 6e 74 73 20 | #brea|kpoints |
|000015b0| 40 20 30 0a 20 20 20 20 | 20 20 20 20 3f 64 6f 20 |@ 0. | ?do |
|000015c0| 20 20 20 20 69 20 3e 62 | 72 65 61 6b 70 6f 69 6e | i >b|reakpoin|
|000015d0| 74 20 40 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |t @ | |
|000015e0| 20 28 20 62 72 65 61 6b | 70 6f 69 6e 74 2d 61 64 | ( break|point-ad|
|000015f0| 72 20 29 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |r ). | |
|00001600| 20 20 20 20 64 75 70 20 | 6f 70 40 20 20 69 20 3e | dup |op@ i >|
|00001610| 73 61 76 65 64 2d 6f 70 | 63 6f 64 65 20 21 20 20 |saved-op|code ! |
|00001620| 20 28 20 62 72 65 61 6b | 70 6f 69 6e 74 2d 61 64 | ( break|point-ad|
|00001630| 72 20 29 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |r ). | |
|00001640| 20 20 20 20 70 75 74 2d | 62 72 65 61 6b 70 6f 69 | put-|breakpoi|
|00001650| 6e 74 0a 20 20 20 20 20 | 20 20 20 6c 6f 6f 70 20 |nt. | loop |
|00001660| 3b 0a 3a 20 72 65 70 61 | 69 72 2d 62 72 65 61 6b |;.: repa|ir-break|
|00001670| 70 6f 69 6e 74 73 20 20 | 28 20 2d 2d 20 29 0a 20 |points |( -- ). |
|00001680| 20 20 20 20 20 20 20 23 | 62 72 65 61 6b 70 6f 69 | #|breakpoi|
|00001690| 6e 74 73 20 40 20 20 30 | 20 20 20 3f 64 6f 20 20 |nts @ 0| ?do |
|000016a0| 69 20 72 65 70 61 69 72 | 2d 62 72 65 61 6b 70 6f |i repair|-breakpo|
|000016b0| 69 6e 74 20 20 6c 6f 6f | 70 0a 20 20 20 20 20 20 |int loo|p. |
|000016c0| 20 20 62 72 65 61 6b 70 | 6f 69 6e 74 73 2d 69 6e | breakp|oints-in|
|000016d0| 73 74 61 6c 6c 65 64 20 | 6f 66 66 20 3b 0a 0a 64 |stalled |off ;..d|
|000016e0| 65 66 65 72 20 72 65 73 | 74 61 72 74 20 20 28 20 |efer res|tart ( |
|000016f0| 2d 2d 20 29 20 20 27 20 | 28 72 65 73 74 61 72 74 |-- ) ' |(restart|
|00001700| 20 20 69 73 20 72 65 73 | 74 61 72 74 0a 0a 5c 20 | is res|tart..\ |
|00001710| 53 69 6e 67 6c 65 20 73 | 74 65 70 70 69 6e 67 3a |Single s|tepping:|
|00001720| 0a 5c 20 54 6f 20 73 69 | 6e 67 6c 65 20 73 74 65 |.\ To si|ngle ste|
|00001730| 70 2c 20 77 65 20 68 61 | 76 65 20 74 6f 20 62 72 |p, we ha|ve to br|
|00001740| 65 61 6b 70 6f 69 6e 74 | 20 74 68 65 20 69 6e 73 |eakpoint| the ins|
|00001750| 74 72 75 63 74 69 6f 6e | 20 6a 75 73 74 20 61 66 |truction| just af|
|00001760| 74 65 72 20 74 68 65 0a | 5c 20 63 75 72 72 65 6e |ter the.|\ curren|
|00001770| 74 20 69 6e 73 74 72 75 | 63 74 69 6f 6e 2e 20 20 |t instru|ction. |
|00001780| 49 66 20 74 68 61 74 20 | 69 6e 73 74 72 75 63 74 |If that |instruct|
|00001790| 69 6f 6e 20 69 73 20 61 | 20 63 6f 6e 64 69 74 69 |ion is a| conditi|
|000017a0| 6f 6e 61 6c 20 62 72 61 | 6e 63 68 2c 20 77 65 0a |onal bra|nch, we.|
|000017b0| 5c 20 68 61 76 65 20 74 | 6f 20 62 72 65 61 6b 70 |\ have t|o breakp|
|000017c0| 6f 69 6e 74 20 62 6f 74 | 68 20 74 68 65 20 6e 65 |oint bot|h the ne|
|000017d0| 78 74 20 69 6e 73 74 72 | 75 63 74 69 6f 6e 20 61 |xt instr|uction a|
|000017e0| 6e 64 20 74 68 65 20 62 | 72 61 6e 63 68 20 74 61 |nd the b|ranch ta|
|000017f0| 72 67 65 74 2e 0a 5c 20 | 54 68 65 20 6d 61 63 68 |rget..\ |The mach|
|00001800| 69 6e 65 2d 64 65 70 65 | 6e 64 65 6e 74 20 6e 65 |ine-depe|ndent ne|
|00001810| 78 74 2d 69 6e 73 74 72 | 75 63 74 69 6f 6e 20 72 |xt-instr|uction r|
|00001820| 6f 75 74 69 6e 65 20 66 | 69 6e 64 73 20 74 68 65 |outine f|inds the|
|00001830| 20 6e 65 78 74 20 69 6e | 73 74 72 75 63 74 69 6f | next in|structio|
|00001840| 6e 0a 5c 20 61 6e 64 20 | 74 68 65 20 62 72 61 6e |n.\ and |the bran|
|00001850| 63 68 20 74 61 72 67 65 | 74 2e 0a 0a 76 61 72 69 |ch targe|t...vari|
|00001860| 61 62 6c 65 20 66 6f 6c | 6c 6f 77 69 6e 67 2d 6a |able fol|lowing-j|
|00001870| 73 72 73 3f 0a 3a 20 73 | 65 74 2d 73 74 65 70 2d |srs?.: s|et-step-|
|00001880| 62 72 65 61 6b 70 6f 69 | 6e 74 73 20 20 28 20 2d |breakpoi|nts ( -|
|00001890| 2d 20 29 0a 20 20 20 20 | 20 20 20 20 66 6f 6c 6c |- ). | foll|
|000018a0| 6f 77 69 6e 67 2d 6a 73 | 72 73 3f 20 40 20 20 20 |owing-js|rs? @ |
|000018b0| 6e 65 78 74 2d 69 6e 73 | 74 72 75 63 74 69 6f 6e |next-ins|truction|
|000018c0| 20 20 28 20 6e 65 78 74 | 2d 61 64 72 20 62 72 61 | ( next|-adr bra|
|000018d0| 6e 63 68 2d 74 61 72 67 | 65 74 7c 30 20 29 0a 20 |nch-targ|et|0 ). |
|000018e0| 20 20 20 20 20 20 20 73 | 77 61 70 20 20 20 20 20 | s|wap |
|000018f0| 20 20 20 20 20 20 20 20 | 20 28 20 73 74 65 70 2d | | ( step-|
|00001900| 62 72 65 61 6b 70 6f 69 | 6e 74 2d 61 64 72 30 20 |breakpoi|nt-adr0 |
|00001910| 73 74 65 70 2d 62 72 65 | 61 6b 70 6f 69 6e 74 2d |step-bre|akpoint-|
|00001920| 61 64 72 31 20 29 0a 20 | 20 20 20 20 20 20 20 32 |adr1 ). | 2|
|00001930| 20 30 0a 20 20 20 20 20 | 20 20 20 64 6f 20 20 20 | 0. | do |
|00001940| 20 20 20 64 75 70 20 69 | 20 3e 73 74 65 70 2d 62 | dup i| >step-b|
|00001950| 72 65 61 6b 70 6f 69 6e | 74 20 21 20 20 3f 64 75 |reakpoin|t ! ?du|
|00001960| 70 20 20 20 20 20 20 20 | 20 20 20 28 20 73 74 65 |p | ( ste|
|00001970| 70 2d 62 72 65 61 6b 70 | 6f 69 6e 74 2d 61 64 72 |p-breakp|oint-adr|
|00001980| 20 29 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | ). | |
|00001990| 20 20 20 69 66 20 20 20 | 20 20 20 64 75 70 20 6f | if | dup o|
|000019a0| 70 40 20 20 69 20 3e 73 | 74 65 70 2d 73 61 76 65 |p@ i >s|tep-save|
|000019b0| 64 2d 6f 70 63 6f 64 65 | 20 21 20 28 20 73 74 65 |d-opcode| ! ( ste|
|000019c0| 70 2d 62 72 65 61 6b 70 | 6f 69 6e 74 2d 61 64 72 |p-breakp|oint-adr|
|000019d0| 20 29 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | ). | |
|000019e0| 20 20 20 20 20 20 20 20 | 20 20 20 70 75 74 2d 62 | | put-b|
|000019f0| 72 65 61 6b 70 6f 69 6e | 74 0a 20 20 20 20 20 20 |reakpoin|t. |
|00001a00| 20 20 20 20 20 20 20 20 | 20 20 74 68 65 6e 0a 20 | | then. |
|00001a10| 20 20 20 20 20 20 20 6c | 6f 6f 70 20 3b 0a 3a 20 | l|oop ;.: |
|00001a20| 72 65 70 61 69 72 2d 73 | 74 65 70 2d 62 72 65 61 |repair-s|tep-brea|
|00001a30| 6b 70 6f 69 6e 74 73 20 | 20 28 20 2d 2d 20 29 0a |kpoints | ( -- ).|
|00001a40| 20 20 20 20 20 20 20 20 | 32 20 30 20 64 6f 20 20 | |2 0 do |
|00001a50| 69 20 3e 73 74 65 70 2d | 62 72 65 61 6b 70 6f 69 |i >step-|breakpoi|
|00001a60| 6e 74 20 40 20 20 3f 64 | 75 70 0a 20 20 20 20 20 |nt @ ?d|up. |
|00001a70| 20 20 20 20 20 20 20 20 | 20 20 20 69 66 20 20 20 | | if |
|00001a80| 20 20 20 61 74 2d 62 72 | 65 61 6b 70 6f 69 6e 74 | at-br|eakpoint|
|00001a90| 3f 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |?. | |
|00001aa0| 20 20 20 20 20 20 20 20 | 20 20 69 66 20 69 20 3e | | if i >|
|00001ab0| 73 74 65 70 2d 73 61 76 | 65 64 2d 6f 70 63 6f 64 |step-sav|ed-opcod|
|00001ac0| 65 20 40 20 69 20 3e 73 | 74 65 70 2d 62 72 65 61 |e @ i >s|tep-brea|
|00001ad0| 6b 70 6f 69 6e 74 20 40 | 20 6f 70 21 20 74 68 65 |kpoint @| op! the|
|00001ae0| 6e 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |n. | |
|00001af0| 20 20 20 20 20 20 20 20 | 20 20 30 20 69 20 3e 73 | | 0 i >s|
|00001b00| 74 65 70 2d 62 72 65 61 | 6b 70 6f 69 6e 74 20 21 |tep-brea|kpoint !|
|00001b10| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00001b20| 20 74 68 65 6e 0a 20 20 | 20 20 20 20 20 20 6c 6f | then. | lo|
|00001b30| 6f 70 20 3b 0a 3a 20 72 | 65 6d 6f 76 65 2d 61 6c |op ;.: r|emove-al|
|00001b40| 6c 2d 62 72 65 61 6b 70 | 6f 69 6e 74 73 20 20 20 |l-breakp|oints |
|00001b50| 20 20 20 20 20 28 20 2d | 2d 20 29 0a 20 20 20 20 | ( -|- ). |
|00001b60| 20 20 20 20 72 65 70 61 | 69 72 2d 62 72 65 61 6b | repa|ir-break|
|00001b70| 70 6f 69 6e 74 73 20 20 | 72 65 70 61 69 72 2d 73 |points |repair-s|
|00001b80| 74 65 70 2d 62 72 65 61 | 6b 70 6f 69 6e 74 73 20 |tep-brea|kpoints |
|00001b90| 20 23 62 72 65 61 6b 70 | 6f 69 6e 74 73 20 6f 66 | #breakp|oints of|
|00001ba0| 66 20 3b 0a 3a 20 63 75 | 72 72 65 6e 74 2d 61 64 |f ;.: cu|rrent-ad|
|00001bb0| 64 72 65 73 73 2d 62 72 | 65 61 6b 70 6f 69 6e 74 |dress-br|eakpoint|
|00001bc0| 65 64 3f 20 28 20 2d 2d | 20 66 6c 61 67 20 29 0a |ed? ( --| flag ).|
|00001bd0| 20 20 20 20 20 20 20 20 | 72 70 63 20 20 66 69 6e | |rpc fin|
|00001be0| 64 2d 62 72 65 61 6b 70 | 6f 69 6e 74 20 30 3e 3d |d-breakp|oint 0>=|
|00001bf0| 20 3b 0a 3a 20 28 73 74 | 65 70 20 20 20 20 20 20 | ;.: (st|ep |
|00001c00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c10| 20 20 20 28 20 2d 2d 20 | 29 0a 20 20 20 20 20 20 | ( -- |). |
|00001c20| 20 20 73 65 74 2d 73 74 | 65 70 2d 62 72 65 61 6b | set-st|ep-break|
|00001c30| 70 6f 69 6e 74 73 20 20 | 72 65 73 74 61 72 74 20 |points |restart |
|00001c40| 20 3b 0a 0a 66 6f 72 74 | 68 20 64 65 66 69 6e 69 | ;..fort|h defini|
|00001c50| 74 69 6f 6e 73 0a 3a 20 | 62 72 65 61 6b 70 6f 69 |tions.: |breakpoi|
|00001c60| 6e 74 2d 67 6f 20 28 20 | 2d 2d 20 29 20 20 20 20 |nt-go ( |-- ) |
|00001c70| 20 20 20 20 20 20 69 6e | 73 74 61 6c 6c 2d 62 72 | in|stall-br|
|00001c80| 65 61 6b 70 6f 69 6e 74 | 73 20 20 72 65 73 74 61 |eakpoint|s resta|
|00001c90| 72 74 20 20 3b 0a 3a 20 | 73 74 65 70 73 20 20 20 |rt ;.: |steps |
|00001ca0| 20 20 20 20 20 20 28 20 | 6e 20 2d 2d 20 29 20 20 | ( |n -- ) |
|00001cb0| 20 20 20 20 20 20 23 73 | 74 65 70 73 20 21 20 20 | #s|teps ! |
|00001cc0| 66 6f 6c 6c 6f 77 69 6e | 67 2d 6a 73 72 73 3f 20 |followin|g-jsrs? |
|00001cd0| 6f 6e 20 20 28 73 74 65 | 70 20 20 3b 0a 3a 20 73 |on (ste|p ;.: s|
|00001ce0| 74 65 70 20 20 20 20 20 | 20 20 20 20 20 28 20 2d |tep | ( -|
|00001cf0| 2d 20 29 20 20 20 20 20 | 20 20 20 20 20 31 20 73 |- ) | 1 s|
|00001d00| 74 65 70 73 20 20 3b 0a | 3a 20 68 6f 70 73 20 20 |teps ;.|: hops |
|00001d10| 20 20 20 20 20 20 20 20 | 28 20 6e 20 2d 2d 20 29 | |( n -- )|
|00001d20| 20 20 20 20 20 20 20 20 | 23 73 74 65 70 73 20 21 | |#steps !|
|00001d30| 20 20 66 6f 6c 6c 6f 77 | 69 6e 67 2d 6a 73 72 73 | follow|ing-jsrs|
|00001d40| 3f 20 6f 66 66 20 20 28 | 73 74 65 70 20 20 3b 0a |? off (|step ;.|
|00001d50| 3a 20 68 6f 70 20 20 20 | 20 20 20 20 20 20 20 20 |: hop | |
|00001d60| 28 20 2d 2d 20 29 20 20 | 20 20 20 20 20 20 20 20 |( -- ) | |
|00001d70| 31 20 68 6f 70 73 20 20 | 3b 0a 3a 20 67 6f 20 20 |1 hops |;.: go |
|00001d80| 20 20 20 20 20 20 20 20 | 20 20 28 20 2d 2d 20 29 | | ( -- )|
|00001d90| 0a 20 20 20 20 20 20 20 | 20 23 73 74 65 70 73 20 |. | #steps |
|00001da0| 6f 66 66 0a 20 20 20 20 | 20 20 20 20 63 75 72 72 |off. | curr|
|00001db0| 65 6e 74 2d 61 64 64 72 | 65 73 73 2d 62 72 65 61 |ent-addr|ess-brea|
|00001dc0| 6b 70 6f 69 6e 74 65 64 | 3f 0a 20 20 20 20 20 20 |kpointed|?. |
|00001dd0| 20 20 69 66 20 20 2d 31 | 20 23 73 74 65 70 73 20 | if -1| #steps |
|00001de0| 21 20 20 28 73 74 65 70 | 20 20 65 6c 73 65 20 20 |! (step| else |
|00001df0| 69 6e 73 74 61 6c 6c 2d | 62 72 65 61 6b 70 6f 69 |install-|breakpoi|
|00001e00| 6e 74 73 20 20 72 65 73 | 74 61 72 74 20 20 74 68 |nts res|tart th|
|00001e10| 65 6e 20 3b 0a 61 6c 69 | 61 73 20 63 6f 6e 74 69 |en ;.ali|as conti|
|00001e20| 6e 75 65 20 67 6f 0a 3a | 20 74 69 6c 6c 20 20 20 |nue go.:| till |
|00001e30| 20 20 20 20 20 20 20 28 | 20 61 64 72 20 2d 2d 20 | (| adr -- |
|00001e40| 29 20 20 20 20 20 20 73 | 65 74 2d 62 72 65 61 6b |) s|et-break|
|00001e50| 70 6f 69 6e 74 20 20 67 | 6f 20 20 3b 0a 3a 20 72 |point g|o ;.: r|
|00001e60| 65 74 75 72 6e 20 20 20 | 20 20 20 20 20 28 20 20 |eturn | ( |
|00001e70| 20 20 20 20 2d 2d 20 29 | 20 20 20 20 20 5c 20 46 | -- )| \ F|
|00001e80| 69 6e 73 68 20 61 6e 64 | 20 72 65 74 75 72 6e 20 |insh and| return |
|00001e90| 66 72 6f 6d 20 73 75 62 | 72 6f 75 74 69 6e 65 0a |from sub|routine.|
|00001ea0| 20 20 20 20 20 20 20 20 | 72 65 74 75 72 6e 2d 61 | |return-a|
|00001eb0| 64 72 20 20 74 69 6c 6c | 20 20 3b 0a 3a 20 72 65 |dr till| ;.: re|
|00001ec0| 74 75 72 6e 6c 20 20 20 | 20 20 20 20 28 20 2d 2d |turnl | ( --|
|00001ed0| 20 29 20 20 20 20 20 20 | 20 20 20 20 5c 20 46 69 | ) | \ Fi|
|00001ee0| 6e 69 73 68 20 61 6e 64 | 20 72 65 74 2e 20 66 72 |nish and| ret. fr|
|00001ef0| 6f 6d 20 6c 65 61 66 20 | 73 75 62 72 2e 0a 20 20 |om leaf |subr.. |
|00001f00| 20 20 20 20 20 20 6c 65 | 61 66 2d 72 65 74 75 72 | le|af-retur|
|00001f10| 6e 2d 61 64 72 20 20 74 | 69 6c 6c 20 20 3b 0a 3a |n-adr t|ill ;.:|
|00001f20| 20 66 69 6e 69 73 68 2d | 6c 6f 6f 70 20 20 20 28 | finish-|loop (|
|00001f30| 20 2d 2d 20 29 20 20 20 | 20 20 20 20 20 20 20 5c | -- ) | \|
|00001f40| 20 46 69 6e 69 73 68 20 | 74 68 65 20 65 6e 63 6c | Finish |the encl|
|00001f50| 6f 73 69 6e 67 20 6c 6f | 6f 70 0a 20 20 20 20 20 |osing lo|op. |
|00001f60| 20 20 20 6c 6f 6f 70 2d | 65 78 69 74 2d 61 64 72 | loop-|exit-adr|
|00001f70| 20 20 74 69 6c 6c 20 20 | 3b 0a 0a 76 61 72 69 61 | till |;..varia|
|00001f80| 62 6c 65 20 23 67 6f 73 | 0a 3a 20 67 6f 73 20 20 |ble #gos|.: gos |
|00001f90| 20 28 20 6e 20 2d 2d 20 | 29 20 20 20 20 20 20 20 | ( n -- |) |
|00001fa0| 20 31 2d 20 23 67 6f 73 | 20 21 20 20 67 6f 20 20 | 1- #gos| ! go |
|00001fb0| 3b 0a 3a 20 2e 70 63 20 | 20 20 28 20 2d 2d 20 29 |;.: .pc | ( -- )|
|00001fc0| 20 20 20 20 20 20 20 20 | 20 20 72 70 63 20 20 2e | | rpc .|
|00001fd0| 20 20 3b 0a 64 65 66 65 | 72 20 2e 73 74 65 70 0a | ;.defe|r .step.|
|00001fe0| 64 65 66 65 72 20 2e 62 | 72 65 61 6b 70 6f 69 6e |defer .b|reakpoin|
|00001ff0| 74 0a 0a 68 69 64 64 65 | 6e 20 64 65 66 69 6e 69 |t..hidde|n defini|
|00002000| 74 69 6f 6e 73 0a 0a 27 | 20 2e 69 6e 73 74 72 75 |tions..'| .instru|
|00002010| 63 74 69 6f 6e 20 69 73 | 20 2e 73 74 65 70 0a 27 |ction is| .step.'|
|00002020| 20 2e 69 6e 73 74 72 75 | 63 74 69 6f 6e 20 69 73 | .instru|ction is|
|00002030| 20 2e 62 72 65 61 6b 70 | 6f 69 6e 74 0a 0a 3a 20 | .breakp|oint..: |
|00002040| 62 72 65 61 6b 70 6f 69 | 6e 74 2d 6d 65 73 73 61 |breakpoi|nt-messa|
|00002050| 67 65 20 20 28 20 2d 2d | 20 29 0a 20 20 20 20 20 |ge ( --| ). |
|00002060| 20 20 20 23 73 74 65 70 | 73 20 40 0a 20 20 20 20 | #step|s @. |
|00002070| 20 20 20 20 69 66 20 20 | 20 20 20 20 5c 20 48 69 | if | \ Hi|
|00002080| 64 64 65 6e 20 73 74 65 | 70 20 74 6f 20 65 78 65 |dden ste|p to exe|
|00002090| 63 75 74 65 20 61 6e 20 | 69 6e 73 74 72 75 63 74 |cute an |instruct|
|000020a0| 69 6f 6e 20 77 69 74 68 | 20 61 20 62 72 65 61 6b |ion with| a break|
|000020b0| 70 6f 69 6e 74 20 6f 6e | 20 69 74 0a 20 20 20 20 |point on| it. |
|000020c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 23 73 74 65 | | #ste|
|000020d0| 70 73 20 40 20 20 2d 31 | 20 3d 20 20 69 66 20 20 |ps @ -1| = if |
|000020e0| 23 73 74 65 70 73 20 6f | 66 66 20 63 6f 6e 74 69 |#steps o|ff conti|
|000020f0| 6e 75 65 20 20 74 68 65 | 6e 0a 20 20 20 20 20 20 |nue the|n. |
|00002100| 20 20 20 20 20 20 20 20 | 20 20 5c 20 52 65 61 6c | | \ Real|
|00002110| 20 73 74 65 70 0a 20 20 | 20 20 20 20 20 20 20 20 | step. | |
|00002120| 20 20 20 20 20 20 2e 73 | 74 65 70 20 20 20 2d 31 | .s|tep -1|
|00002130| 20 23 73 74 65 70 73 20 | 2b 21 20 20 23 73 74 65 | #steps |+! #ste|
|00002140| 70 73 20 40 20 20 69 66 | 20 20 28 73 74 65 70 20 |ps @ if| (step |
|00002150| 20 74 68 65 6e 0a 20 20 | 20 20 20 20 20 20 65 6c | then. | el|
|00002160| 73 65 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |se. | |
|00002170| 20 20 20 70 63 2d 61 74 | 2d 62 72 65 61 6b 70 6f | pc-at|-breakpo|
|00002180| 69 6e 74 20 40 0a 20 20 | 20 20 20 20 20 20 20 20 |int @. | |
|00002190| 20 20 20 20 20 20 69 66 | 20 20 20 20 20 20 2e 62 | if| .b|
|000021a0| 72 65 61 6b 70 6f 69 6e | 74 0a 20 20 20 20 20 20 |reakpoin|t. |
|000021b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000021c0| 20 20 23 67 6f 73 20 40 | 20 20 69 66 20 20 2d 31 | #gos @| if -1|
|000021d0| 20 23 67 6f 73 20 2b 21 | 20 20 67 6f 20 20 74 68 | #gos +!| go th|
|000021e0| 65 6e 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |en. | |
|000021f0| 20 20 20 65 6c 73 65 20 | 20 20 20 2e 65 78 63 65 | else | .exce|
|00002200| 70 74 69 6f 6e 0a 20 20 | 20 20 20 20 20 20 20 20 |ption. | |
|00002210| 20 20 20 20 20 20 74 68 | 65 6e 0a 20 20 20 20 20 | th|en. |
|00002220| 20 20 20 74 68 65 6e 20 | 3b 0a 3a 20 28 68 61 6e | then |;.: (han|
|00002230| 64 6c 65 2d 62 72 65 61 | 6b 70 6f 69 6e 74 20 20 |dle-brea|kpoint |
|00002240| 28 20 2d 2d 20 29 0a 20 | 20 20 20 20 20 20 20 63 |( -- ). | c|
|00002250| 75 72 72 65 6e 74 2d 61 | 64 64 72 65 73 73 2d 62 |urrent-a|ddress-b|
|00002260| 72 65 61 6b 70 6f 69 6e | 74 65 64 3f 20 20 70 63 |reakpoin|ted? pc|
|00002270| 2d 61 74 2d 62 72 65 61 | 6b 70 6f 69 6e 74 20 21 |-at-brea|kpoint !|
|00002280| 0a 20 20 20 20 20 20 20 | 20 72 65 70 61 69 72 2d |. | repair-|
|00002290| 73 74 65 70 2d 62 72 65 | 61 6b 70 6f 69 6e 74 73 |step-bre|akpoints|
|000022a0| 0a 20 20 20 20 20 20 20 | 20 72 65 70 61 69 72 2d |. | repair-|
|000022b0| 62 72 65 61 6b 70 6f 69 | 6e 74 73 0a 20 20 20 20 |breakpoi|nts. |
|000022c0| 20 20 20 20 62 72 65 61 | 6b 70 6f 69 6e 74 2d 6d | brea|kpoint-m|
|000022d0| 65 73 73 61 67 65 0a 20 | 20 20 20 20 20 20 20 71 |essage. | q|
|000022e0| 75 69 74 20 3b 0a 27 20 | 28 68 61 6e 64 6c 65 2d |uit ;.' |(handle-|
|000022f0| 62 72 65 61 6b 70 6f 69 | 6e 74 20 69 73 20 68 61 |breakpoi|nt is ha|
|00002300| 6e 64 6c 65 2d 62 72 65 | 61 6b 70 6f 69 6e 74 0a |ndle-bre|akpoint.|
|00002310| 0a 66 6f 72 74 68 20 64 | 65 66 69 6e 69 74 69 6f |.forth d|efinitio|
|00002320| 6e 73 0a 3a 20 2b 62 70 | 20 20 20 28 20 61 64 72 |ns.: +bp| ( adr|
|00002330| 20 2d 2d 20 29 20 20 20 | 20 20 20 73 65 74 2d 62 | -- ) | set-b|
|00002340| 72 65 61 6b 70 6f 69 6e | 74 20 20 3b 0a 3a 20 2d |reakpoin|t ;.: -|
|00002350| 62 70 20 20 20 28 20 61 | 64 72 20 2d 2d 20 29 20 |bp ( a|dr -- ) |
|00002360| 20 20 20 20 20 72 65 6d | 6f 76 65 2d 62 72 65 61 | rem|ove-brea|
|00002370| 6b 70 6f 69 6e 74 20 20 | 3b 0a 5c 20 52 65 6d 6f |kpoint |;.\ Remo|
|00002380| 76 65 20 6d 6f 73 74 2d | 72 65 63 65 6e 74 6c 79 |ve most-|recently|
|00002390| 2d 73 65 74 20 62 72 65 | 61 6b 70 6f 69 6e 74 0a |-set bre|akpoint.|
|000023a0| 3a 20 2d 2d 62 70 20 20 | 28 20 2d 2d 20 29 0a 09 |: --bp |( -- )..|
|000023b0| 23 62 72 65 61 6b 70 6f | 69 6e 74 73 20 40 0a 09 |#breakpo|ints @..|
|000023c0| 69 66 09 23 62 72 65 61 | 6b 70 6f 69 6e 74 73 20 |if.#brea|kpoints |
|000023d0| 40 20 31 2d 20 20 72 65 | 70 61 69 72 2d 62 72 65 |@ 1- re|pair-bre|
|000023e0| 61 6b 70 6f 69 6e 74 0a | 09 09 2d 31 20 23 62 72 |akpoint.|..-1 #br|
|000023f0| 65 61 6b 70 6f 69 6e 74 | 73 20 2b 21 0a 09 74 68 |eakpoint|s +!..th|
|00002400| 65 6e 20 3b 0a 0a 5c 20 | 58 58 58 20 54 68 65 20 |en ;..\ |XXX The |
|00002410| 53 75 6e 20 62 6f 6f 74 | 20 50 52 4f 4d 20 72 65 |Sun boot| PROM re|
|00002420| 73 65 74 73 20 74 68 65 | 20 69 6c 6c 65 67 61 6c |sets the| illegal|
|00002430| 20 69 6e 73 74 72 75 63 | 74 69 6f 6e 20 65 78 63 | instruc|tion exc|
|00002440| 65 70 74 69 6f 6e 20 76 | 65 63 74 6f 72 0a 5c 20 |eption v|ector.\ |
|00002450| 77 68 65 6e 20 79 6f 75 | 20 75 73 65 20 69 74 20 |when you| use it |
|00002460| 74 6f 20 62 6f 6f 74 20 | 61 20 73 75 62 70 72 6f |to boot |a subpro|
|00002470| 67 72 61 6d 2e 0a 5c 20 | 73 74 61 6e 64 2d 63 61 |gram..\ |stand-ca|
|00002480| 74 63 68 2d 65 78 63 65 | 70 74 69 6f 6e 73 20 73 |tch-exce|ptions s|
|00002490| 68 6f 75 6c 64 20 62 65 | 20 65 78 65 63 75 74 65 |hould be| execute|
|000024a0| 64 20 61 66 74 65 72 20 | 64 6f 69 6e 67 20 73 6f |d after |doing so|
|000024b0| 0a 3a 20 62 70 6f 6e 20 | 20 20 20 20 20 20 20 20 |.: bpon | |
|000024c0| 20 28 20 2d 2d 20 29 20 | 20 20 20 20 20 20 20 20 | ( -- ) | |
|000024d0| 20 69 6e 73 74 61 6c 6c | 2d 62 72 65 61 6b 70 6f | install|-breakpo|
|000024e0| 69 6e 74 73 20 20 3b 0a | 3a 20 2e 62 70 20 20 20 |ints ;.|: .bp |
|000024f0| 20 20 20 20 20 20 20 20 | 28 20 2d 2d 20 29 20 20 | |( -- ) |
|00002500| 20 20 20 20 20 20 20 20 | 73 68 6f 77 2d 62 72 65 | |show-bre|
|00002510| 61 6b 70 6f 69 6e 74 73 | 20 20 3b 0a 3a 20 62 70 |akpoints| ;.: bp|
|00002520| 6f 66 66 20 20 20 20 20 | 20 20 20 20 28 20 2d 2d |off | ( --|
|00002530| 20 29 20 20 20 20 20 20 | 20 20 20 20 72 65 6d 6f | ) | remo|
|00002540| 76 65 2d 61 6c 6c 2d 62 | 72 65 61 6b 70 6f 69 6e |ve-all-b|reakpoin|
|00002550| 74 73 20 20 3b 0a 3a 20 | 63 73 74 61 72 74 20 20 |ts ;.: |cstart |
|00002560| 20 20 20 20 20 20 28 20 | 61 64 72 20 2d 2d 20 29 | ( |adr -- )|
|00002570| 20 20 20 20 20 20 62 70 | 6f 6e 20 67 6f 74 6f 20 | bp|on goto |
|00002580| 20 3b 0a 3a 20 73 6b 69 | 70 20 20 20 20 20 20 20 | ;.: ski|p |
|00002590| 20 20 20 28 20 2d 2d 20 | 29 20 20 20 20 20 20 20 | ( -- |) |
|000025a0| 20 20 20 62 75 6d 70 70 | 63 20 67 6f 20 20 3b 0a | bumpp|c go ;.|
|000025b0| 3a 20 74 72 61 63 65 09 | 09 28 20 2d 2d 20 29 09 |: trace.|.( -- ).|
|000025c0| 09 27 20 64 75 70 20 2b | 62 70 20 23 73 74 65 70 |.' dup +|bp #step|
|000025d0| 73 20 6f 66 66 20 63 73 | 74 61 72 74 20 3b 0a 3a |s off cs|tart ;.:|
|000025e0| 20 28 63 6f 6c 64 2d 68 | 6f 6f 6b 20 20 20 20 28 | (cold-h|ook (|
|000025f0| 20 2d 2d 20 29 20 20 20 | 20 20 20 20 20 20 20 28 | -- ) | (|
|00002600| 63 6f 6c 64 2d 68 6f 6f | 6b 20 20 69 6e 69 74 2d |cold-hoo|k init-|
|00002610| 62 72 65 61 6b 70 6f 69 | 6e 74 73 20 20 3b 0a 6f |breakpoi|nts ;.o|
|00002620| 6e 6c 79 20 66 6f 72 74 | 68 20 61 6c 73 6f 20 64 |nly fort|h also d|
|00002630| 65 66 69 6e 69 74 69 6f | 6e 73 0a 00 00 00 00 00 |efinitio|ns......|
|00002640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002800| 21 46 6f 72 74 68 6d 61 | 63 73 2e 65 78 74 65 6e |!Forthma|cs.exten|
|00002810| 64 2e 61 72 6d 2e 6d 61 | 63 68 64 65 70 00 00 00 |d.arm.ma|chdep...|
|00002820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002860| 00 00 00 00 20 20 20 36 | 30 30 00 00 20 20 20 20 |.... 6|00.. |
|00002870| 20 30 00 00 20 20 20 20 | 20 30 00 00 20 20 20 20 | 0.. | 0.. |
|00002880| 20 20 20 34 36 30 33 00 | 20 36 31 35 37 37 37 33 | 4603.| 6157773|
|00002890| 34 35 37 00 20 31 37 37 | 35 37 00 20 30 00 00 00 |457. 177|57. 0...|
|000028a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002900| 00 41 72 63 68 69 65 20 | 00 33 37 37 37 37 37 37 |.Archie |.3777777|
|00002910| 37 35 30 36 00 33 33 35 | 34 35 33 37 34 33 33 32 |7506.335|45374332|
|00002920| 00 20 20 20 20 20 20 20 | 20 20 20 33 00 34 36 20 |. | 3.46 |
|00002930| 64 64 39 35 66 38 64 61 | 00 20 20 20 20 20 20 20 |dd95f8da|. |
|00002940| 20 20 20 30 20 41 00 00 | 00 00 00 00 00 00 00 00 | 0 A..|........|
|00002950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a00| 5c 20 41 52 4d 20 73 70 | 65 63 69 66 69 63 20 6d |\ ARM sp|ecific m|
|00002a10| 70 75 2d 63 6f 64 65 20 | 64 65 62 75 67 67 65 72 |pu-code |debugger|
|00002a20| 0a 0a 68 65 78 0a 6f 6e | 6c 79 20 66 6f 72 74 68 |..hex.on|ly forth|
|00002a30| 20 61 6c 73 6f 20 20 62 | 75 67 20 61 6c 73 6f 20 | also b|ug also |
|00002a40| 20 73 79 73 74 65 6d 20 | 61 6c 73 6f 20 20 68 69 | system |also hi|
|00002a50| 64 64 65 6e 20 61 6c 73 | 6f 20 64 65 66 69 6e 69 |dden als|o defini|
|00002a60| 74 69 6f 6e 73 0a 0a 68 | 65 61 64 65 72 6c 65 73 |tions..h|eaderles|
|00002a70| 73 20 5c 20 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |s \ ****|********|
|00002a80| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002a90| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002aa0| 2a 2a 2a 2a 2a 2a 0a 0a | 3a 20 2e 65 78 63 65 70 |******..|: .excep|
|00002ab0| 74 69 6f 6e 09 77 68 79 | 20 3b 0a 64 65 66 65 72 |tion.why| ;.defer|
|00002ac0| 20 6f 70 40 09 27 20 40 | 20 69 73 20 6f 70 40 0a | op@.' @| is op@.|
|00002ad0| 64 65 66 65 72 20 6f 70 | 21 09 27 20 21 20 69 73 |defer op|!.' ! is|
|00002ae0| 20 6f 70 21 0a 0a 65 66 | 30 32 30 30 31 37 20 63 | op!..ef|020017 c|
|00002af0| 6f 6e 73 74 61 6e 74 20 | 62 72 65 61 6b 70 6f 69 |onstant |breakpoi|
|00002b00| 6e 74 2d 6f 70 63 6f 64 | 65 20 20 5c 20 58 4f 53 |nt-opcod|e \ XOS|
|00002b10| 5f 42 72 65 61 6b 70 74 | 0a 3a 20 61 6d 61 73 6b |_Breakpt|.: amask|
|00002b20| 09 09 28 20 61 64 72 20 | 2d 2d 20 61 64 72 31 29 |..( adr |-- adr1)|
|00002b30| 09 33 66 66 66 66 66 63 | 20 61 6e 64 20 3b 0a 3a |.3fffffc| and ;.:|
|00002b40| 20 70 63 40 09 09 28 20 | 2d 2d 20 61 64 72 20 29 | pc@..( |-- adr )|
|00002b50| 09 72 70 63 20 61 6d 61 | 73 6b 20 40 20 3b 0a 3a |.rpc ama|sk @ ;.:|
|00002b60| 20 6e 78 74 70 63 09 09 | 28 20 2d 2d 20 61 64 72 | nxtpc..|( -- adr|
|00002b70| 20 29 09 72 70 63 20 63 | 65 6c 6c 2b 20 3b 0a 0a | ).rpc c|ell+ ;..|
|00002b80| 3a 20 61 74 2d 62 72 65 | 61 6b 70 6f 69 6e 74 3f |: at-bre|akpoint?|
|00002b90| 20 28 20 61 64 72 20 2d | 2d 20 66 29 09 6f 70 40 | ( adr -|- f).op@|
|00002ba0| 20 20 62 72 65 61 6b 70 | 6f 69 6e 74 2d 6f 70 63 | breakp|oint-opc|
|00002bb0| 6f 64 65 20 3d 20 20 3b | 0a 3a 20 70 75 74 2d 62 |ode = ;|.: put-b|
|00002bc0| 72 65 61 6b 70 6f 69 6e | 74 20 28 20 61 64 72 20 |reakpoin|t ( adr |
|00002bd0| 2d 2d 20 29 09 62 72 65 | 61 6b 70 6f 69 6e 74 2d |-- ).bre|akpoint-|
|00002be0| 6f 70 63 6f 64 65 20 73 | 77 61 70 20 6f 70 21 20 |opcode s|wap op! |
|00002bf0| 3b 0a 3a 20 61 64 72 3f | 09 09 28 20 61 64 72 20 |;.: adr?|..( adr |
|00002c00| 2d 2d 61 64 72 2f 30 29 | 09 61 6d 61 73 6b 20 64 |--adr/0)|.amask d|
|00002c10| 75 70 20 5b 27 5d 20 64 | 69 67 69 74 20 3c 20 69 |up ['] d|igit < i|
|00002c20| 66 20 64 72 6f 70 20 66 | 61 6c 73 65 20 74 68 65 |f drop f|alse the|
|00002c30| 6e 20 3b 0a 0a 3a 20 28 | 74 6f 62 72 61 6e 63 68 |n ;..: (|tobranch|
|00002c40| 29 09 28 20 2d 2d 20 61 | 64 64 72 20 29 09 72 70 |).( -- a|ddr ).rp|
|00002c50| 63 20 64 75 70 20 40 20 | 66 66 66 66 66 66 20 61 |c dup @ |ffffff a|
|00002c60| 6e 64 20 32 2b 20 63 65 | 6c 6c 73 2b 20 61 64 72 |nd 2+ ce|lls+ adr|
|00002c70| 3f 20 3b 0a 3a 20 28 74 | 6f 2d 6d 6f 76 29 09 28 |? ;.: (t|o-mov).(|
|00002c80| 20 2d 2d 20 61 64 64 72 | 20 29 09 72 65 67 69 73 | -- addr| ).regis|
|00002c90| 74 65 72 73 20 70 63 40 | 20 30 66 20 61 6e 64 20 |ters pc@| 0f and |
|00002ca0| 63 65 6c 6c 73 2b 20 40 | 20 61 64 72 3f 20 3b 0a |cells+ @| adr? ;.|
|00002cb0| 3a 20 28 74 6f 2d 6c 64 | 72 29 09 28 20 2d 2d 20 |: (to-ld|r).( -- |
|00002cc0| 61 64 64 72 20 29 09 72 | 65 67 69 73 74 65 72 73 |addr ).r|egisters|
|00002cd0| 20 70 63 40 20 31 30 20 | 72 73 68 69 66 74 20 30 | pc@ 10 |rshift 0|
|00002ce0| 66 20 61 6e 64 20 63 65 | 6c 6c 73 2b 20 40 20 40 |f and ce|lls+ @ @|
|00002cf0| 20 61 64 72 3f 20 3b 0a | 0a 5c 20 4b 65 65 70 20 | adr? ;.|.\ Keep |
|00002d00| 6f 6e 20 69 6d 70 72 6f | 76 69 6e 67 3a 0a 5c 20 |on impro|ving:.\ |
|00002d10| 53 6f 20 66 61 72 20 62 | 72 61 6e 63 68 20 61 64 |So far b|ranch ad|
|00002d20| 64 72 65 73 73 65 73 20 | 61 72 65 20 66 6f 75 6e |dresses |are foun|
|00002d30| 64 20 66 6f 72 0a 5c 20 | 31 20 62 72 61 6e 63 68 |d for.\ |1 branch|
|00002d40| 2c 20 62 72 61 6e 63 68 | 2b 6c 69 6e 6b 20 69 6e |, branch|+link in|
|00002d50| 73 74 72 75 63 74 69 6f | 6e 73 0a 5c 20 32 20 73 |structio|ns.\ 2 s|
|00002d60| 69 6d 70 6c 65 20 20 70 | 63 20 72 3f 3f 20 6d 6f |imple p|c r?? mo|
|00002d70| 76 09 69 6e 73 74 72 75 | 63 74 69 6f 6e 73 20 28 |v.instru|ctions (|
|00002d80| 20 65 78 65 63 75 74 65 | 2c 20 72 65 74 75 72 6e | execute|, return|
|00002d90| 20 29 0a 5c 20 33 20 70 | 6f 73 74 2d 69 6e 2f 64 | ).\ 3 p|ost-in/d|
|00002da0| 65 63 72 65 6d 65 6e 74 | 65 64 20 20 70 63 20 72 |ecrement|ed pc r|
|00002db0| 3f 3f 20 20 6c 64 72 20 | 69 6e 73 74 72 75 63 74 |?? ldr |instruct|
|00002dc0| 69 6f 6e 73 0a 5c 20 34 | 20 74 6f 2d 64 6f 09 61 |ions.\ 4| to-do.a|
|00002dd0| 20 67 65 6e 65 72 61 6c | 20 68 61 6e 64 6c 69 6e | general| handlin|
|00002de0| 67 20 6f 66 20 6d 6f 76 | 20 61 6e 64 20 6c 64 72 |g of mov| and ldr|
|00002df0| 20 69 6e 73 74 72 75 63 | 74 69 6f 6e 73 0a 5c 09 | instruc|tions.\.|
|00002e00| 09 62 20 6c 64 6d 0a 5c | 09 09 63 20 70 63 20 72 |.b ldm.\|..c pc r|
|00002e10| 3f 3f 20 78 78 20 61 64 | 64 20 20 20 70 63 20 72 |?? xx ad|d pc r|
|00002e20| 3f 3f 20 78 78 20 73 75 | 62 20 3c 2d 2d 20 61 64 |?? xx su|b <-- ad|
|00002e30| 72 20 69 6e 73 74 72 75 | 63 74 69 6f 6e 0a 0a 3a |r instru|ction..:|
|00002e40| 20 6e 65 78 74 2d 69 6e | 73 74 72 75 63 74 69 6f | next-in|structio|
|00002e50| 6e 09 28 20 66 6f 6c 6c | 6f 77 69 6e 67 2d 6a 73 |n.( foll|owing-js|
|00002e60| 72 73 3f 20 2d 2d 20 6e | 65 78 74 2d 61 64 64 72 |rs? -- n|ext-addr|
|00002e70| 20 62 72 61 6e 63 68 2d | 74 61 72 67 65 74 7c 30 | branch-|target|0|
|00002e80| 20 29 0a 20 20 20 69 66 | 09 28 20 62 6c 20 29 09 | ). if|.( bl ).|
|00002e90| 70 63 40 20 30 66 30 30 | 30 30 30 30 20 61 6e 64 |pc@ 0f00|0000 and|
|00002ea0| 20 30 62 30 30 30 30 30 | 30 20 3d 20 69 66 20 6e | 0b00000|0 = if n|
|00002eb0| 78 74 70 63 20 28 74 6f | 62 72 61 6e 63 68 29 09 |xtpc (to|branch).|
|00002ec0| 65 78 69 74 20 74 68 65 | 6e 0a 20 20 20 74 68 65 |exit the|n. the|
|00002ed0| 6e 0a 09 28 20 62 6c 20 | 29 09 70 63 40 20 30 66 |n..( bl |).pc@ 0f|
|00002ee0| 30 30 30 30 30 30 20 61 | 6e 64 20 30 62 30 30 30 |000000 a|nd 0b000|
|00002ef0| 30 30 30 20 3d 20 69 66 | 20 6e 78 74 70 63 20 30 |000 = if| nxtpc 0|
|00002f00| 09 09 65 78 69 74 20 74 | 68 65 6e 0a 09 28 20 61 |..exit t|hen..( a|
|00002f10| 6c 20 62 29 09 70 63 40 | 20 66 66 30 30 30 30 30 |l b).pc@| ff00000|
|00002f20| 30 20 61 6e 64 20 65 61 | 30 30 30 30 30 30 20 3d |0 and ea|000000 =|
|00002f30| 20 69 66 20 28 74 6f 62 | 72 61 6e 63 68 29 20 30 | if (tob|ranch) 0|
|00002f40| 09 65 78 69 74 20 74 68 | 65 6e 0a 09 28 20 62 20 |.exit th|en..( b |
|00002f50| 29 09 70 63 40 20 30 66 | 30 30 30 30 30 30 20 61 |).pc@ 0f|000000 a|
|00002f60| 6e 64 20 30 61 30 30 30 | 30 30 30 20 3d 20 69 66 |nd 0a000|000 = if|
|00002f70| 20 6e 78 74 70 63 20 28 | 74 6f 62 72 61 6e 63 68 | nxtpc (|tobranch|
|00002f80| 29 20 65 78 69 74 20 74 | 68 65 6e 0a 0a 28 20 70 |) exit t|hen..( p|
|00002f90| 63 20 72 3f 3f 20 6d 6f | 76 20 29 09 70 63 40 20 |c r?? mo|v ).pc@ |
|00002fa0| 66 64 65 30 66 30 30 30 | 20 61 6e 64 20 65 31 61 |fde0f000| and e1a|
|00002fb0| 30 66 30 30 30 20 3d 20 | 69 66 20 28 74 6f 2d 6d |0f000 = |if (to-m|
|00002fc0| 6f 76 29 20 30 09 65 78 | 69 74 20 74 68 65 6e 0a |ov) 0.ex|it then.|
|00002fd0| 28 20 70 63 20 72 3f 3f | 20 6d 6f 76 20 29 09 70 |( pc r??| mov ).p|
|00002fe0| 63 40 20 30 64 65 30 66 | 30 30 30 20 61 6e 64 20 |c@ 0de0f|000 and |
|00002ff0| 30 31 61 30 66 30 30 30 | 20 3d 20 69 66 20 6e 78 |01a0f000| = if nx|
|00003000| 74 70 63 20 28 74 6f 2d | 6d 6f 76 29 09 65 78 69 |tpc (to-|mov).exi|
|00003010| 74 20 74 68 65 6e 0a 0a | 28 20 70 63 20 72 3f 3f |t then..|( pc r??|
|00003020| 20 6c 64 72 20 29 09 70 | 63 40 20 66 63 35 30 66 | ldr ).p|c@ fc50f|
|00003030| 30 30 30 20 61 6e 64 20 | 65 34 31 30 66 30 30 30 |000 and |e410f000|
|00003040| 20 3d 20 69 66 20 28 74 | 6f 2d 6c 64 72 29 20 30 | = if (t|o-ldr) 0|
|00003050| 09 65 78 69 74 20 74 68 | 65 6e 0a 28 20 70 63 20 |.exit th|en.( pc |
|00003060| 72 3f 3f 20 6c 64 72 20 | 29 09 70 63 40 20 30 63 |r?? ldr |).pc@ 0c|
|00003070| 35 30 66 30 30 30 20 61 | 6e 64 20 30 34 31 30 66 |50f000 a|nd 0410f|
|00003080| 30 30 30 20 3d 20 69 66 | 20 6e 78 74 70 63 20 28 |000 = if| nxtpc (|
|00003090| 74 6f 2d 6c 64 72 29 09 | 65 78 69 74 20 74 68 65 |to-ldr).|exit the|
|000030a0| 6e 0a 0a 28 20 6f 74 68 | 65 72 73 20 2e 2e 29 09 |n..( oth|ers ..).|
|000030b0| 6e 78 74 70 63 20 30 20 | 3b 0a 0a 63 6f 64 65 20 |nxtpc 0 |;..code |
|000030c0| 67 6f 74 6f 09 28 20 61 | 64 72 20 2d 2d 20 29 0a |goto.( a|dr -- ).|
|000030d0| 09 72 30 09 74 6f 70 09 | 6d 6f 76 0a 09 74 6f 70 |.r0.top.|mov..top|
|000030e0| 09 73 70 09 70 6f 70 0a | 09 70 63 09 72 30 09 6d |.sp.pop.|.pc.r0.m|
|000030f0| 6f 76 20 65 6e 64 2d 63 | 6f 64 65 0a 62 75 67 20 |ov end-c|ode.bug |
|00003100| 61 6c 73 6f 0a 0a 3a 20 | 62 75 6d 70 70 63 09 28 |also..: |bumppc.(|
|00003110| 20 2d 2d 20 29 09 09 6e | 78 74 70 63 20 74 6f 20 | -- )..n|xtpc to |
|00003120| 72 70 63 20 3b 0a 3a 20 | 73 65 74 2d 70 63 09 28 |rpc ;.: |set-pc.(|
|00003130| 20 61 64 72 20 2d 2d 20 | 29 09 61 6d 61 73 6b 20 | adr -- |).amask |
|00003140| 74 6f 20 72 70 63 20 3b | 0a 3a 20 72 65 74 75 72 |to rpc ;|.: retur|
|00003150| 6e 2d 61 64 72 09 28 20 | 2d 2d 20 61 64 72 20 29 |n-adr.( |-- adr )|
|00003160| 09 72 72 70 20 63 65 6c | 6c 2b 20 40 20 3b 09 5c |.rrp cel|l+ @ ;.\|
|00003170| 20 57 6f 72 64 20 61 62 | 6f 76 65 20 73 74 6f 72 | Word ab|ove stor|
|00003180| 65 64 20 6c 69 6e 6b 0a | 3a 20 6c 65 61 66 2d 72 |ed link.|: leaf-r|
|00003190| 65 74 75 72 6e 2d 61 64 | 72 20 20 28 20 2d 2d 20 |eturn-ad|r ( -- |
|000031a0| 61 64 72 20 29 09 72 73 | 70 20 40 20 3b 09 09 5c |adr ).rs|p @ ;..\|
|000031b0| 20 54 6f 70 20 6f 66 20 | 73 74 61 63 6b 0a 3a 20 | Top of |stack.: |
|000031c0| 6c 6f 6f 70 2d 65 78 69 | 74 2d 61 64 72 20 20 28 |loop-exi|t-adr (|
|000031d0| 20 2d 2d 20 61 64 72 20 | 29 0a 09 72 70 63 20 3e | -- adr |)..rpc >|
|000031e0| 72 0a 09 62 65 67 69 6e | 09 30 20 6e 65 78 74 2d |r..begin|.0 next-|
|000031f0| 69 6e 73 74 72 75 63 74 | 69 6f 6e 20 3f 64 75 70 |instruct|ion ?dup|
|00003200| 0a 09 09 28 20 6e 65 78 | 74 2d 61 64 64 72 20 62 |...( nex|t-addr b|
|00003210| 72 61 6e 63 68 2d 74 61 | 72 67 65 74 7c 30 20 29 |ranch-ta|rget|0 )|
|00003220| 0a 09 09 69 66 09 5c 20 | 49 74 20 77 61 73 20 61 |...if.\ |It was a|
|00003230| 20 62 72 61 6e 63 68 20 | 69 6e 73 74 72 75 63 74 | branch |instruct|
|00003240| 69 6f 6e 0a 09 09 09 5c | 20 49 66 20 74 68 65 20 |ion....\| If the |
|00003250| 62 72 61 6e 63 68 20 77 | 61 73 20 62 61 63 6b 77 |branch w|as backw|
|00003260| 61 72 64 73 2c 20 77 65 | 27 72 65 20 64 6f 6e 65 |ards, we|'re done|
|00003270| 0a 09 09 09 72 70 63 20 | 3c 0a 09 09 09 69 66 20 |....rpc |<....if |
|00003280| 64 72 6f 70 20 20 72 70 | 63 20 20 72 3e 20 74 6f |drop rp|c r> to|
|00003290| 20 72 70 63 20 65 78 69 | 74 20 74 68 65 6e 09 28 | rpc exi|t then.(|
|000032a0| 20 6e 65 78 74 2d 61 64 | 72 20 29 0a 09 09 74 68 | next-ad|r )...th|
|000032b0| 65 6e 0a 09 09 5c 20 4e | 6f 74 20 61 20 62 72 61 |en...\ N|ot a bra|
|000032c0| 6e 63 68 20 6f 72 20 61 | 20 62 72 61 6e 63 68 20 |nch or a| branch |
|000032d0| 66 6f 72 77 61 72 64 73 | 2e 0a 09 09 5c 20 41 64 |forwards|....\ Ad|
|000032e0| 76 61 6e 63 65 20 74 6f | 20 6e 65 78 74 20 69 6e |vance to| next in|
|000032f0| 73 74 72 75 63 74 69 6f | 6e 2e 0a 09 09 74 6f 20 |structio|n....to |
|00003300| 72 70 63 0a 09 09 72 70 | 63 20 72 40 20 2d 20 5b |rpc...rp|c r@ - [|
|00003310| 20 64 23 20 32 35 30 20 | 63 65 6c 6c 73 20 5d 20 | d# 250 |cells ] |
|00003320| 6c 69 74 65 72 61 6c 20 | 3e 0a 09 75 6e 74 69 6c |literal |>..until|
|00003330| 20 72 3e 20 74 6f 20 72 | 70 63 0a 09 64 23 20 2d | r> to r|pc..d# -|
|00003340| 36 35 30 20 74 68 72 6f | 77 20 3b 0a 68 65 61 64 |650 thro|w ;.head|
|00003350| 65 72 73 20 5c 20 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |ers \ **|********|
|00003360| 2a 2a 2a 2a 2a 2a 0a 6f | 6e 6c 79 20 66 6f 72 74 |******.o|nly fort|
|00003370| 68 20 61 6c 73 6f 20 64 | 65 66 69 6e 69 74 69 6f |h also d|efinitio|
|00003380| 6e 73 0a 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |ns......|........|
|00003390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003400| 21 46 6f 72 74 68 6d 61 | 63 73 2e 65 78 74 65 6e |!Forthma|cs.exten|
|00003410| 64 2e 72 75 6e 74 69 6d | 65 00 00 00 00 00 00 00 |d.runtim|e.......|
|00003420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003460| 00 00 00 00 20 20 20 36 | 30 30 00 00 20 20 20 20 |.... 6|00.. |
|00003470| 20 30 00 00 20 20 20 20 | 20 30 00 00 20 20 20 20 | 0.. | 0.. |
|00003480| 20 20 31 31 35 34 32 00 | 20 36 31 35 37 36 31 30 | 11542.| 6157610|
|00003490| 31 37 36 00 20 31 37 32 | 36 37 00 20 30 00 00 00 |176. 172|67. 0...|
|000034a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003500| 00 41 72 63 68 69 65 20 | 00 33 37 37 37 37 37 37 |.Archie |.3777777|
|00003510| 37 35 30 36 00 33 33 35 | 31 36 37 35 35 36 32 36 |7506.335|16755626|
|00003520| 00 20 20 20 20 20 20 20 | 20 20 20 33 00 34 36 20 |. | 3.46 |
|00003530| 64 64 33 62 64 62 39 36 | 00 20 20 20 20 20 20 20 |dd3bdb96|. |
|00003540| 20 20 20 30 20 41 00 00 | 00 00 00 00 00 00 00 00 | 0 A..|........|
|00003550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003600| 5c 20 70 6f 72 74 61 62 | 6c 65 20 52 55 4e 54 49 |\ portab|le RUNTI|
|00003610| 4d 45 20 50 52 4f 46 49 | 4c 45 52 20 20 56 65 72 |ME PROFI|LER Ver|
|00003620| 73 69 6f 6e 20 31 2e 30 | 34 20 68 73 30 36 2e 30 |sion 1.0|4 hs06.0|
|00003630| 36 2e 39 36 0a 5c 20 55 | 53 45 3a 20 20 2d 2d 20 |6.96.\ U|SE: -- |
|00003640| 72 75 6e 74 69 6d 65 2d | 70 72 6f 66 69 6c 69 6e |runtime-|profilin|
|00003650| 67 20 6f 66 20 63 6f 6c | 6f 6e 20 64 65 66 69 6e |g of col|on defin|
|00003660| 69 74 69 6f 6e 73 2e 0a | 5c 20 6d 69 6e 69 20 6d |itions..|\ mini m|
|00003670| 61 6e 75 61 6c 3a 0a 5c | 20 31 29 20 6c 6f 61 64 |anual:.\| 1) load|
|00003680| 20 74 68 65 20 63 70 75 | 20 73 70 65 63 69 66 69 | the cpu| specifi|
|00003690| 63 20 72 75 6e 74 69 6d | 65 72 20 66 69 6c 65 2c |c runtim|er file,|
|000036a0| 20 74 68 69 73 20 66 69 | 6c 65 20 73 68 6f 75 6c | this fi|le shoul|
|000036b0| 64 20 62 65 20 6c 6f 61 | 64 65 64 20 61 75 74 6f |d be loa|ded auto|
|000036c0| 6d 61 74 69 63 61 6c 6c | 79 2e 0a 5c 20 20 20 20 |maticall|y..\ |
|000036d0| 20 20 20 66 6c 6f 61 64 | 20 65 78 74 65 6e 64 5c | fload| extend\|
|000036e0| 3f 3f 63 70 75 3f 3f 5c | 72 75 6e 74 69 6d 65 72 |??cpu??\|runtimer|
|000036f0| 2e 66 74 68 0a 5c 20 20 | 20 20 20 20 20 66 6c 6f |.fth.\ | flo|
|00003700| 61 64 20 65 78 74 65 6e | 64 5c 72 75 6e 74 69 6d |ad exten|d\runtim|
|00003710| 65 2e 66 74 68 0a 5c 20 | 32 29 20 46 72 6f 6d 20 |e.fth.\ |2) From |
|00003720| 6e 6f 77 20 6f 6e 20 61 | 6c 6c 20 63 6f 6c 6f 6e |now on a|ll colon|
|00003730| 20 64 65 66 69 6e 69 74 | 69 6f 6e 73 20 68 61 76 | definit|ions hav|
|00003740| 65 20 61 6e 20 69 6e 74 | 65 72 6e 61 6c 20 74 69 |e an int|ernal ti|
|00003750| 6d 65 20 6d 65 61 73 75 | 72 69 6e 67 20 63 6f 64 |me measu|ring cod|
|00003760| 65 20 70 61 72 74 20 77 | 68 69 63 68 20 69 73 0a |e part w|hich is.|
|00003770| 5c 20 20 20 20 20 20 20 | 65 78 65 63 75 74 65 64 |\ |executed|
|00003780| 20 62 79 20 63 61 6c 6c | 69 6e 67 20 74 68 65 20 | by call|ing the |
|00003790| 77 6f 72 64 2e 0a 5c 20 | 33 29 20 47 6c 6f 73 73 |word..\ |3) Gloss|
|000037a0| 61 72 79 3a 0a 5c 20 6e | 65 77 20 28 20 2d 2d 20 |ary:.\ n|ew ( -- |
|000037b0| 29 0a 5c 20 20 20 20 20 | 20 20 63 6c 65 61 72 20 |).\ | clear |
|000037c0| 61 6c 6c 20 74 69 6d 69 | 6e 67 20 69 6e 66 6f 72 |all timi|ng infor|
|000037d0| 6d 61 74 69 6f 6e 0a 5c | 20 2e 74 69 6d 65 73 20 |mation.\| .times |
|000037e0| 28 20 2d 2d 20 29 0a 5c | 20 20 20 20 20 20 20 64 |( -- ).\| d|
|000037f0| 69 73 70 6c 61 79 20 74 | 69 6d 69 6e 67 20 69 6e |isplay t|iming in|
|00003800| 66 6f 72 6d 61 74 69 6f | 6e 0a 5c 20 70 72 6f 66 |formatio|n.\ prof|
|00003810| 69 6c 65 20 28 20 2d 2d | 20 29 20 6e 61 6d 65 0a |ile ( --| ) name.|
|00003820| 5c 20 20 20 20 20 20 20 | 74 68 65 20 77 6f 72 64 |\ |the word|
|00003830| 20 6e 61 6d 65 20 69 73 | 20 65 78 65 63 75 74 65 | name is| execute|
|00003840| 64 20 61 6e 64 20 74 68 | 65 20 74 69 6d 69 6e 67 |d and th|e timing|
|00003850| 20 74 61 6b 65 73 20 70 | 6c 61 63 65 2e 20 6e 61 | takes p|lace. na|
|00003860| 6d 65 20 63 6f 75 6c 64 | 20 62 65 20 61 20 22 62 |me could| be a "b|
|00003870| 65 6e 63 68 6d 61 72 6b | 22 20 6f 72 0a 5c 20 20 |enchmark|" or.\ |
|00003880| 20 20 20 20 20 74 68 65 | 20 74 69 6d 69 6e 67 20 | the| timing |
|00003890| 63 72 69 74 69 63 61 6c | 20 70 61 72 74 20 6f 66 |critical| part of|
|000038a0| 20 79 6f 75 72 20 61 70 | 70 6c 69 63 61 74 69 6f | your ap|plicatio|
|000038b0| 6e 2e 20 20 20 20 20 20 | 20 0a 5c 20 73 65 65 20 |n. | .\ see |
|000038c0| 20 20 69 73 20 70 61 74 | 63 68 65 64 2c 20 69 74 | is pat|ched, it|
|000038d0| 20 77 69 6c 6c 20 67 69 | 76 65 20 63 6f 72 72 65 | will gi|ve corre|
|000038e0| 63 74 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 61 |ct infor|mation a|
|000038f0| 6e 64 20 6b 6e 6f 77 73 | 20 61 62 6f 75 74 20 74 |nd knows| about t|
|00003900| 68 65 20 74 69 6d 65 72 | 20 69 6e 66 6f 72 6d 61 |he timer| informa|
|00003910| 74 69 6f 6e 20 64 61 74 | 61 0a 5c 20 20 20 20 20 |tion dat|a.\ |
|00003920| 20 20 73 74 72 75 63 74 | 75 72 65 0a 5c 0a 5c 20 | struct|ure.\.\ |
|00003930| 34 29 20 65 78 61 6d 70 | 6c 65 0a 5c 20 3a 20 74 |4) examp|le.\ : t|
|00003940| 65 73 74 31 20 20 20 20 | 20 20 20 64 75 70 20 64 |est1 | dup d|
|00003950| 75 70 20 64 75 70 20 3b | 0a 5c 20 3a 20 74 65 73 |up dup ;|.\ : tes|
|00003960| 74 32 20 20 20 20 20 20 | 20 64 72 6f 70 20 64 72 |t2 | drop dr|
|00003970| 6f 70 20 64 72 6f 70 20 | 3b 0a 5c 20 3a 20 74 65 |op drop |;.\ : te|
|00003980| 73 74 33 20 20 20 20 20 | 20 20 73 77 61 70 20 73 |st3 | swap s|
|00003990| 77 61 70 20 73 77 61 70 | 20 3b 0a 5c 20 3a 20 74 |wap swap| ;.\ : t|
|000039a0| 65 73 74 34 20 20 20 20 | 20 20 20 74 65 73 74 31 |est4 | test1|
|000039b0| 20 74 65 73 74 33 20 74 | 65 73 74 32 20 74 65 73 | test3 t|est2 tes|
|000039c0| 74 31 20 74 65 73 74 33 | 20 74 65 73 74 32 20 3b |t1 test3| test2 ;|
|000039d0| 0a 5c 20 3a 20 74 65 73 | 74 35 20 20 20 20 20 20 |.\ : tes|t5 |
|000039e0| 20 31 30 30 30 30 20 30 | 20 64 6f 20 74 65 73 74 | 10000 0| do test|
|000039f0| 34 20 74 65 73 74 34 20 | 6c 6f 6f 70 20 3b 0a 5c |4 test4 |loop ;.\|
|00003a00| 20 70 72 6f 66 69 6c 65 | 20 74 65 73 74 35 20 2e | profile| test5 .|
|00003a10| 74 69 6d 65 73 0a 0a 5c | 0a 5c 20 55 73 65 72 20 |times..\|.\ User |
|00003a20| 77 6f 72 64 73 20 6f 66 | 20 72 75 6e 74 69 6d 65 |words of| runtime|
|00003a30| 72 20 56 65 72 73 69 6f | 6e 20 31 2e 30 0a 5c 20 |r Versio|n 1.0.\ |
|00003a40| 20 20 20 20 20 20 6e 65 | 77 20 28 2d 2d 20 29 20 | ne|w (-- ) |
|00003a50| 20 20 20 20 20 20 20 20 | 20 20 20 20 73 65 74 20 | | set |
|00003a60| 61 6c 6c 20 63 61 6c 6c | 73 20 61 6e 64 20 74 69 |all call|s and ti|
|00003a70| 63 6b 73 20 74 6f 20 30 | 0a 5c 20 20 20 20 20 20 |cks to 0|.\ |
|00003a80| 20 2e 74 69 6d 65 73 20 | 28 20 2d 2d 20 29 20 20 | .times |( -- ) |
|00003a90| 20 20 20 20 20 20 20 70 | 72 69 6e 74 20 72 75 6e | p|rint run|
|00003aa0| 74 69 6d 65 73 0a 5c 20 | 20 20 20 20 20 20 70 72 |times.\ | pr|
|00003ab0| 6f 66 69 6c 65 20 20 6e | 61 6d 65 20 28 20 2d 2d |ofile n|ame ( --|
|00003ac0| 20 29 20 20 6d 61 6b 65 | 20 61 20 72 75 6e 74 69 | ) make| a runti|
|00003ad0| 6d 65 20 70 72 6f 66 69 | 6c 65 20 6f 66 20 77 6f |me profi|le of wo|
|00003ae0| 72 64 20 6e 61 6d 65 29 | 0a 5c 20 4c 69 74 2e 20 |rd name)|.\ Lit. |
|00003af0| 20 5b 31 5d 20 22 4c 61 | 75 66 7a 65 69 74 6d 65 | [1] "La|ufzeitme|
|00003b00| 73 73 75 6e 67 20 76 6f | 6e 20 46 6f 72 74 68 77 |ssung vo|n Forthw|
|00003b10| 6f 72 74 65 6e 22 2c 20 | 42 65 72 6e 64 20 50 65 |orten", |Bernd Pe|
|00003b20| 6e 6e 65 6d 61 6e 6e 2c | 20 56 44 32 2f 38 37 0a |nnemann,| VD2/87.|
|00003b30| 5c 20 20 20 20 20 20 20 | 5b 32 5d 20 46 6f 72 6d |\ |[2] Form|
|00003b40| 61 63 73 20 55 73 65 72 | 27 73 20 47 75 69 64 65 |acs User|'s Guide|
|00003b50| 2c 20 4d 69 74 63 68 20 | 42 72 61 64 6c 65 79 20 |, Mitch |Bradley |
|00003b60| 0a 5c 0a 5c 20 41 66 74 | 65 72 20 6c 6f 61 64 69 |.\.\ Aft|er loadi|
|00003b70| 6e 67 20 74 68 65 20 72 | 75 6e 74 69 6d 65 72 20 |ng the r|untimer |
|00003b80| 65 76 65 72 79 20 63 6f | 6c 6f 6e 20 64 65 66 69 |every co|lon defi|
|00003b90| 6e 69 74 69 6f 6e 20 69 | 73 20 6c 69 6e 6b 65 64 |nition i|s linked|
|00003ba0| 20 62 79 20 61 6e 20 65 | 78 74 72 61 0a 5c 20 6c | by an e|xtra.\ l|
|00003bb0| 69 6e 6b 2d 6c 69 73 74 | 20 66 6f 72 20 65 61 73 |ink-list| for eas|
|00003bc0| 79 20 66 69 6e 64 69 6e | 67 20 6f 66 20 61 6c 6c |y findin|g of all|
|00003bd0| 20 77 6f 72 64 73 2e 0a | 0a 5c 20 53 74 72 75 63 | words..|.\ Struc|
|00003be0| 74 75 72 65 20 6f 66 20 | 6e 65 77 20 63 6f 6c 6f |ture of |new colo|
|00003bf0| 6e 20 64 65 66 69 6e 69 | 74 69 6f 6e 3a 0a 5c 20 |n defini|tion:.\ |
|00003c00| 20 20 20 20 20 20 74 69 | 6d 65 72 2d 6c 69 6e 6b | ti|mer-link|
|00003c10| 2d 6c 69 73 74 20 6c 6f | 6e 67 0a 5c 20 20 20 20 |-list lo|ng.\ |
|00003c20| 20 20 20 73 74 61 6e 64 | 61 72 64 20 66 6f 72 74 | stand|ard fort|
|00003c30| 68 6d 61 63 73 20 68 65 | 61 64 65 72 0a 5c 20 20 |hmacs he|ader.\ |
|00003c40| 20 20 20 20 20 61 70 66 | 20 70 61 72 61 6d 65 74 | apf| paramet|
|00003c50| 65 72 20 66 69 65 6c 64 | 20 61 64 64 72 65 73 73 |er field| address|
|00003c60| 20 6f 66 20 77 6f 72 64 | 0a 5c 20 20 20 20 20 20 | of word|.\ |
|00003c70| 20 20 30 20 28 74 69 6d | 65 0a 5c 20 20 20 20 20 | 0 (tim|e.\ |
|00003c80| 20 20 20 34 20 63 61 6c | 6c 73 0a 5c 20 20 20 20 | 4 cal|ls.\ |
|00003c90| 20 20 20 20 38 20 23 74 | 69 6d 65 0a 5c 20 20 20 | 8 #t|ime.\ |
|00003ca0| 20 20 20 20 31 32 20 63 | 6f 6d 70 69 6c 65 64 20 | 12 c|ompiled |
|00003cb0| 63 6f 64 65 20 63 6f 6e | 74 69 6e 75 65 73 20 2e |code con|tinues .|
|00003cc0| 2e 2e 2e 2e 2e 0a 0a 6f | 6e 6c 79 20 66 6f 72 74 |.......o|nly fort|
|00003cd0| 68 20 61 6c 73 6f 20 68 | 69 64 64 65 6e 20 61 6c |h also h|idden al|
|00003ce0| 73 6f 20 64 65 66 69 6e | 69 74 69 6f 6e 73 20 20 |so defin|itions |
|00003cf0| 64 65 63 69 6d 61 6c 0a | 0a 5b 69 66 64 65 66 5d |decimal.|.[ifdef]|
|00003d00| 20 20 20 70 72 6f 66 69 | 6c 65 20 20 20 20 20 20 | profi|le |
|00003d10| 20 20 20 20 20 20 20 20 | 20 20 20 5c 20 74 68 69 | | \ thi|
|00003d20| 73 20 66 69 6c 65 20 73 | 68 6f 75 6c 64 6e 27 74 |s file s|houldn't|
|00003d30| 20 62 65 20 63 6f 6d 70 | 69 6c 65 64 20 74 77 69 | be comp|iled twi|
|00003d40| 63 65 0a 20 20 20 20 20 | 20 20 20 3f 3f 63 72 20 |ce. | ??cr |
|00003d50| 2e 28 20 72 75 6e 74 69 | 6d 65 72 20 61 6c 72 65 |.( runti|mer alre|
|00003d60| 61 64 79 20 6c 6f 61 64 | 65 64 29 20 63 72 20 66 |ady load|ed) cr f|
|00003d70| 65 78 69 74 0a 5b 74 68 | 65 6e 5d 0a 0a 5b 69 66 |exit.[th|en]..[if|
|00003d80| 6e 64 65 66 5d 20 20 28 | 74 69 6d 65 20 20 20 20 |ndef] (|time |
|00003d90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 5c | | \|
|00003da0| 20 64 65 66 69 6e 65 64 | 20 69 6e 20 63 70 75 2d | defined| in cpu-|
|00003db0| 73 70 65 63 69 66 69 63 | 20 66 69 6c 65 0a 20 20 |specific| file. |
|00003dc0| 20 20 20 20 20 20 3f 3f | 63 72 20 2e 28 20 72 75 | ??|cr .( ru|
|00003dd0| 6e 74 69 6d 65 72 20 6e | 65 65 64 73 20 63 70 75 |ntimer n|eeds cpu|
|00003de0| 2d 73 70 65 63 69 66 69 | 63 20 74 69 6d 65 72 20 |-specifi|c timer |
|00003df0| 64 65 66 69 6e 69 74 69 | 6f 6e 2d 66 69 6c 65 20 |definiti|on-file |
|00003e00| 66 69 72 73 74 29 20 63 | 72 20 66 65 78 69 74 0a |first) c|r fexit.|
|00003e10| 5b 74 68 65 6e 5d 0a 0a | 76 61 72 69 61 62 6c 65 |[then]..|variable|
|00003e20| 20 75 73 65 64 2d 74 69 | 6d 65 0a 76 61 72 69 61 | used-ti|me.varia|
|00003e30| 62 6c 65 20 74 69 6d 65 | 72 2d 6c 69 6e 6b 20 20 |ble time|r-link |
|00003e40| 20 20 20 20 20 20 20 20 | 20 20 20 5c 20 62 61 73 | | \ bas|
|00003e50| 65 20 6f 66 20 6c 69 6e | 6b 2d 6c 69 73 74 20 62 |e of lin|k-list b|
|00003e60| 6f 75 6e 64 20 74 6f 20 | 30 0a 20 20 20 20 20 20 |ound to |0. |
|00003e70| 20 20 68 65 72 65 20 74 | 69 6d 65 72 2d 6c 69 6e | here t|imer-lin|
|00003e80| 6b 20 6c 69 6e 6b 21 20 | 20 30 20 2c 0a 64 65 66 |k link! | 0 ,.def|
|00003e90| 65 72 20 73 63 61 6e 2d | 61 63 74 69 6f 6e 20 20 |er scan-|action |
|00003ea0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 5c 20 28 | | \ (|
|00003eb0| 20 61 6e 66 20 2d 2d 20 | 29 0a 0a 3a 20 73 63 61 | anf -- |)..: sca|
|00003ec0| 6e 2d 61 6c 6c 20 20 20 | 20 20 20 5c 20 28 20 2d |n-all | \ ( -|
|00003ed0| 2d 20 29 20 73 63 61 6e | 2d 61 63 74 69 6f 6e 20 |- ) scan|-action |
|00003ee0| 69 73 20 64 6f 6e 65 20 | 77 69 74 68 20 61 6c 6c |is done |with all|
|00003ef0| 20 74 69 6d 65 72 2d 6c | 69 6e 6b 65 64 20 77 6f | timer-l|inked wo|
|00003f00| 72 64 73 0a 09 74 69 6d | 65 72 2d 6c 69 6e 6b 0a |rds..tim|er-link.|
|00003f10| 09 62 65 67 69 6e 09 6c | 69 6e 6b 40 20 64 75 70 |.begin.l|ink@ dup|
|00003f20| 20 6c 69 6e 6b 40 20 20 | 65 78 69 74 3f 20 6e 6f | link@ |exit? no|
|00003f30| 74 20 61 6e 64 0a 09 77 | 68 69 6c 65 09 64 75 70 |t and..w|hile.dup|
|00003f40| 20 63 65 6c 6c 2b 20 20 | 6c 3e 6e 61 6d 65 20 20 | cell+ |l>name |
|00003f50| 20 73 63 61 6e 2d 61 63 | 74 69 6f 6e 0a 09 72 65 | scan-ac|tion..re|
|00003f60| 70 65 61 74 09 64 72 6f | 70 20 3b 0a 0a 3a 20 74 |peat.dro|p ;..: t|
|00003f70| 69 63 6b 65 72 2d 64 61 | 74 61 20 20 20 5c 20 28 |icker-da|ta \ (|
|00003f80| 20 61 6e 66 20 2d 2d 20 | 61 64 72 2d 74 69 6d 65 | anf -- |adr-time|
|00003f90| 72 20 61 64 72 2d 64 61 | 74 61 20 29 0a 09 6e 61 |r adr-da|ta )..na|
|00003fa0| 6d 65 3e 20 3e 62 6f 64 | 79 20 63 65 6c 6c 2b 20 |me> >bod|y cell+ |
|00003fb0| 64 75 70 20 63 65 6c 6c | 2b 20 73 77 61 70 20 3b |dup cell|+ swap ;|
|00003fc0| 0a 3a 20 6e 65 77 2d 64 | 61 74 61 20 20 20 20 20 |.: new-d|ata |
|00003fd0| 20 5c 20 28 20 61 6e 66 | 20 2d 2d 20 29 20 43 61 | \ ( anf| -- ) Ca|
|00003fe0| 6c 6c 2d 6e 72 20 75 6e | 64 20 54 69 6d 65 2d 6e |ll-nr un|d Time-n|
|00003ff0| 72 20 20 3d 20 30 0a 09 | 74 69 63 6b 65 72 2d 64 |r = 0..|ticker-d|
|00004000| 61 74 61 20 6f 66 66 20 | 6f 66 66 20 20 75 73 65 |ata off |off use|
|00004010| 64 2d 74 69 6d 65 20 6f | 66 66 20 3b 0a 3a 20 6c |d-time o|ff ;.: l|
|00004020| 65 67 61 6c 2d 64 61 74 | 61 20 20 20 20 5c 20 28 |egal-dat|a \ (|
|00004030| 20 61 6e 66 20 2d 2d 20 | 29 0a 09 74 69 63 6b 65 | anf -- |)..ticke|
|00004040| 72 2d 64 61 74 61 20 64 | 72 6f 70 20 40 20 32 2d |r-data d|rop @ 2-|
|00004050| 20 20 75 73 65 64 2d 74 | 69 6d 65 20 40 20 3e 0a | used-t|ime @ >.|
|00004060| 09 69 66 20 75 73 65 64 | 2d 74 69 6d 65 20 6f 66 |.if used|-time of|
|00004070| 66 20 74 68 65 6e 20 3b | 0a 3a 20 2e 70 65 72 63 |f then ;|.: .perc|
|00004080| 65 6e 74 20 20 20 20 20 | 20 5c 20 28 20 6e 20 2d |ent | \ ( n -|
|00004090| 2d 20 29 0a 09 75 73 65 | 64 2d 74 69 6d 65 20 40 |- )..use|d-time @|
|000040a0| 20 64 75 70 20 31 30 30 | 30 30 30 20 3e 0a 09 69 | dup 100|000 >..i|
|000040b0| 66 20 31 30 30 20 2f 20 | 65 6c 73 65 20 73 77 61 |f 100 / |else swa|
|000040c0| 70 20 31 30 30 35 20 2a | 20 31 30 20 2f 20 73 77 |p 1005 *| 10 / sw|
|000040d0| 61 70 20 74 68 65 6e 20 | 2f 20 20 20 20 20 20 28 |ap then |/ (|
|000040e0| 20 6e 20 2d 2d 20 29 0a | 09 3f 64 75 70 20 69 66 | n -- ).|.?dup if|
|000040f0| 20 34 20 2e 72 20 65 6c | 73 65 20 2e 22 20 20 3c | 4 .r el|se ." <|
|00004100| 20 31 22 20 74 68 65 6e | 20 2e 22 20 25 22 20 3b | 1" then| ." %" ;|
|00004110| 0a 0a 3a 20 2e 75 73 65 | 63 20 20 20 20 20 20 20 |..: .use|c |
|00004120| 20 20 5c 20 28 20 75 73 | 65 63 20 2d 2d 20 29 0a | \ ( us|ec -- ).|
|00004130| 09 64 75 70 20 33 30 30 | 30 30 20 3e 0a 09 69 66 |.dup 300|00 >..if|
|00004140| 09 34 39 39 20 2b 20 20 | 31 30 30 30 20 2f 20 20 |.499 + |1000 / |
|00004150| 5b 63 68 61 72 5d 20 6d | 20 3e 72 20 20 64 75 70 |[char] m| >r dup|
|00004160| 20 33 30 30 30 30 20 3e | 0a 09 09 69 66 20 34 39 | 30000 >|...if 49|
|00004170| 39 20 2b 20 20 31 30 30 | 30 20 2f 20 20 72 3e 20 |9 + 100|0 / r> |
|00004180| 64 72 6f 70 20 20 62 6c | 20 3e 72 20 20 74 68 65 |drop bl| >r the|
|00004190| 6e 0a 09 65 6c 73 65 09 | 5b 63 68 61 72 5d 20 75 |n..else.|[char] u|
|000041a0| 20 3e 72 0a 09 74 68 65 | 6e 20 20 20 20 28 20 6e | >r..the|n ( n|
|000041b0| 20 2d 2d 20 29 0a 09 3f | 64 75 70 20 69 66 20 38 | -- )..?|dup if 8|
|000041c0| 20 2e 72 20 65 6c 73 65 | 20 2e 22 20 20 20 20 20 | .r else| ." |
|000041d0| 20 20 20 2d 22 20 74 68 | 65 6e 20 20 73 70 61 63 | -" th|en spac|
|000041e0| 65 20 72 3e 20 65 6d 69 | 74 20 20 2e 22 20 73 65 |e r> emi|t ." se|
|000041f0| 63 22 20 3b 0a 3a 20 2e | 6f 6e 65 2d 64 61 74 61 |c" ;.: .|one-data|
|00004200| 20 20 20 20 20 5c 20 28 | 20 61 6e 66 20 2d 2d 20 | \ (| anf -- |
|00004210| 29 20 70 72 69 6e 74 73 | 20 64 61 74 61 20 6f 66 |) prints| data of|
|00004220| 20 6f 6e 65 20 77 6f 72 | 64 0a 09 64 75 70 20 74 | one wor|d..dup t|
|00004230| 69 63 6b 65 72 2d 64 61 | 74 61 20 40 20 20 73 77 |icker-da|ta @ sw|
|00004240| 61 70 20 40 20 73 77 61 | 70 0a 09 64 75 70 20 30 |ap @ swa|p..dup 0|
|00004250| 3d 20 20 28 20 61 6e 66 | 20 23 74 69 6d 65 20 63 |= ( anf| #time c|
|00004260| 61 6c 6c 73 20 66 6c 61 | 67 20 29 0a 09 69 66 20 |alls fla|g )..if |
|00004270| 32 64 72 6f 70 20 64 72 | 6f 70 20 65 78 69 74 20 |2drop dr|op exit |
|00004280| 74 68 65 6e 0a 09 72 6f | 74 20 2e 69 64 20 20 32 |then..ro|t .id 2|
|00004290| 30 20 74 6f 2d 63 6f 6c | 75 6d 6e 0a 09 32 64 75 |0 to-col|umn..2du|
|000042a0| 70 20 20 20 38 20 2e 72 | 20 2e 22 20 20 43 61 6c |p 8 .r| ." Cal|
|000042b0| 6c 73 22 20 20 20 20 75 | 73 65 63 2f 74 69 63 6b |ls" u|sec/tick|
|000042c0| 20 2a 20 2e 75 73 65 63 | 0a 09 32 64 75 70 20 73 | * .usec|..2dup s|
|000042d0| 77 61 70 20 75 73 65 63 | 2f 74 69 63 6b 20 2a 20 |wap usec|/tick * |
|000042e0| 73 77 61 70 20 2f 20 20 | 2e 75 73 65 63 20 2e 22 |swap / |.usec ."|
|000042f0| 20 2f 63 61 6c 6c 22 0a | 09 64 72 6f 70 20 20 75 | /call".|.drop u|
|00004300| 73 65 64 2d 74 69 6d 65 | 20 40 0a 09 69 66 20 20 |sed-time| @..if |
|00004310| 2e 70 65 72 63 65 6e 74 | 20 65 6c 73 65 20 64 72 |.percent| else dr|
|00004320| 6f 70 20 74 68 65 6e 20 | 3f 3f 63 72 20 3b 0a 0a |op then |??cr ;..|
|00004330| 5c 20 73 75 70 70 6f 72 | 74 20 66 6f 72 20 74 68 |\ suppor|t for th|
|00004340| 65 20 64 65 63 6f 6d 70 | 69 6c 65 72 0a 5b 69 66 |e decomp|iler.[if|
|00004350| 64 65 66 5d 20 73 65 65 | 0a 09 3a 20 2e 72 75 6e |def] see|..: .run|
|00004360| 74 69 6d 65 2d 69 6e 66 | 6f 09 09 28 20 69 70 20 |time-inf|o..( ip |
|00004370| 2d 2d 20 69 70 27 20 29 | 0a 09 09 2b 69 6e 64 65 |-- ip' )|...+inde|
|00004380| 6e 74 20 2e 2e 22 20 5c | 20 3c 2d 2d 20 70 72 6f |nt .." \| <-- pro|
|00004390| 66 69 6c 65 72 2d 69 6e | 66 6f 72 6d 61 74 69 6f |filer-in|formatio|
|000043a0| 6e 20 61 76 61 69 6c 61 | 62 6c 65 2c 20 22 0a 09 |n availa|ble, "..|
|000043b0| 09 63 65 6c 6c 2b 20 64 | 75 70 20 40 20 2e 64 20 |.cell+ d|up @ .d |
|000043c0| 2e 22 20 63 61 6c 6c 73 | 2c 20 22 20 63 65 6c 6c |." calls|, " cell|
|000043d0| 2b 20 64 75 70 20 40 20 | 2e 64 20 2e 22 20 74 69 |+ dup @ |.d ." ti|
|000043e0| 63 6b 73 2e 22 20 63 65 | 6c 6c 2b 20 2d 69 6e 64 |cks." ce|ll+ -ind|
|000043f0| 65 6e 74 20 3b 0a 09 3a | 20 73 6b 69 70 2d 72 75 |ent ;..:| skip-ru|
|00004400| 6e 74 69 6d 65 2d 69 6e | 66 6f 20 20 20 20 20 28 |ntime-in|fo (|
|00004410| 20 69 70 20 2d 2d 20 69 | 70 27 20 29 0a 09 09 63 | ip -- i|p' )...c|
|00004420| 65 6c 6c 2b 20 63 65 6c | 6c 2b 20 63 65 6c 6c 2b |ell+ cel|l+ cell+|
|00004430| 20 3b 0a 09 27 20 28 74 | 69 6d 65 20 27 20 2e 72 | ;..' (t|ime ' .r|
|00004440| 75 6e 74 69 6d 65 2d 69 | 6e 66 6f 20 20 27 20 73 |untime-i|nfo ' s|
|00004450| 6b 69 70 2d 72 75 6e 74 | 69 6d 65 2d 69 6e 66 6f |kip-runt|ime-info|
|00004460| 20 20 69 6e 73 74 61 6c | 6c 2d 64 65 63 6f 6d 70 | instal|l-decomp|
|00004470| 0a 5b 74 68 65 6e 5d 0a | 0a 3a 20 28 62 79 65 09 |.[then].|.: (bye.|
|00004480| 09 72 65 6d 6f 76 65 2d | 74 69 63 6b 65 72 20 28 |.remove-|ticker (|
|00004490| 62 79 65 20 3b 20 20 20 | 20 20 20 20 20 20 20 20 |bye ; | |
|000044a0| 20 20 20 20 20 0a 3a 20 | 28 66 6f 72 67 65 74 20 | .: |(forget |
|000044b0| 20 20 20 20 20 20 74 72 | 75 65 20 61 62 6f 72 74 | tr|ue abort|
|000044c0| 22 20 66 6f 72 67 65 74 | 20 69 73 20 6e 6f 74 20 |" forget| is not |
|000044d0| 61 6c 6c 6f 77 65 64 20 | 77 69 74 68 20 70 72 6f |allowed |with pro|
|000044e0| 66 69 6c 65 72 20 6c 6f | 61 64 65 64 21 22 20 3b |filer lo|aded!" ;|
|000044f0| 0a 3a 20 28 73 61 76 65 | 2d 66 6f 72 74 68 20 20 |.: (save|-forth |
|00004500| 20 74 72 75 65 20 61 62 | 6f 72 74 22 20 73 61 76 | true ab|ort" sav|
|00004510| 65 2d 66 6f 72 74 68 20 | 69 73 20 6e 6f 74 20 61 |e-forth |is not a|
|00004520| 6c 6c 6f 77 65 64 20 77 | 69 74 68 20 70 72 6f 66 |llowed w|ith prof|
|00004530| 69 6c 65 72 20 6c 6f 61 | 64 65 64 21 22 20 3b 20 |iler loa|ded!" ; |
|00004540| 0a 20 20 20 20 20 20 20 | 20 27 20 28 66 6f 72 67 |. | ' (forg|
|00004550| 65 74 20 20 20 20 20 27 | 20 66 6f 72 67 65 74 20 |et '| forget |
|00004560| 3e 62 6f 64 79 20 74 6f | 6b 65 6e 21 0a 20 20 20 |>body to|ken!. |
|00004570| 20 20 20 20 20 27 20 28 | 73 61 76 65 2d 66 6f 72 | ' (|save-for|
|00004580| 74 68 20 27 20 73 61 76 | 65 2d 66 6f 72 74 68 20 |th ' sav|e-forth |
|00004590| 3e 62 6f 64 79 20 74 6f | 6b 65 6e 21 0a 20 20 20 |>body to|ken!. |
|000045a0| 20 20 20 20 20 27 20 28 | 62 79 65 20 69 73 20 62 | ' (|bye is b|
|000045b0| 79 65 0a 66 6f 72 74 68 | 20 64 65 66 69 6e 69 74 |ye.forth| definit|
|000045c0| 69 6f 6e 73 0a 0a 76 61 | 72 69 61 62 6c 65 20 72 |ions..va|riable r|
|000045d0| 75 6e 74 69 6d 65 72 20 | 20 72 75 6e 74 69 6d 65 |untimer | runtime|
|000045e0| 72 20 6f 66 66 20 20 20 | 20 20 5c 20 6f 6e 20 2d |r off | \ on -|
|000045f0| 3e 20 74 68 65 20 72 75 | 6e 74 69 6d 65 72 20 63 |> the ru|ntimer c|
|00004600| 6f 64 65 20 69 73 20 63 | 6f 6d 70 69 6c 65 64 0a |ode is c|ompiled.|
|00004610| 3a 20 6e 65 77 20 20 20 | 20 20 20 20 20 20 20 20 |: new | |
|00004620| 5c 20 28 20 2d 2d 20 29 | 20 73 65 74 20 61 6c 6c |\ ( -- )| set all|
|00004630| 20 74 69 63 6b 73 20 61 | 6e 64 20 63 61 6c 6c 73 | ticks a|nd calls|
|00004640| 20 74 6f 20 30 0a 20 20 | 20 20 20 20 20 20 5b 27 | to 0. | ['|
|00004650| 5d 20 6e 65 77 2d 64 61 | 74 61 20 69 73 20 73 63 |] new-da|ta is sc|
|00004660| 61 6e 2d 61 63 74 69 6f | 6e 20 20 73 63 61 6e 2d |an-actio|n scan-|
|00004670| 61 6c 6c 20 3b 0a 3a 20 | 2e 74 69 6d 65 73 20 20 |all ;.: |.times |
|00004680| 20 20 20 20 20 20 5c 20 | 28 20 2d 2d 20 29 20 70 | \ |( -- ) p|
|00004690| 72 69 6e 74 73 20 64 61 | 74 61 20 6f 66 20 61 6c |rints da|ta of al|
|000046a0| 6c 20 77 6f 72 64 73 0a | 20 20 20 20 20 20 20 20 |l words.| |
|000046b0| 3f 3f 63 72 20 63 72 20 | 2e 22 20 52 75 6e 74 69 |??cr cr |." Runti|
|000046c0| 6d 65 20 70 72 6f 66 69 | 6c 65 72 20 56 20 31 2e |me profi|ler V 1.|
|000046d0| 30 33 20 28 63 29 20 31 | 39 39 33 2c 39 34 20 48 |03 (c) 1|993,94 H|
|000046e0| 61 6e 6e 6f 20 53 63 68 | 77 61 6c 6d 22 0a 20 20 |anno Sch|walm". |
|000046f0| 20 20 20 20 20 20 63 72 | 20 23 63 6f 6c 75 6d 6e | cr| #column|
|00004700| 73 20 30 20 64 6f 20 5b | 63 68 61 72 5d 20 5f 20 |s 0 do [|char] _ |
|00004710| 65 6d 69 74 20 6c 6f 6f | 70 20 63 72 20 63 72 0a |emit loo|p cr cr.|
|00004720| 20 20 20 20 20 20 20 20 | 5b 27 5d 20 6c 65 67 61 | |['] lega|
|00004730| 6c 2d 64 61 74 61 20 69 | 73 20 73 63 61 6e 2d 61 |l-data i|s scan-a|
|00004740| 63 74 69 6f 6e 20 73 63 | 61 6e 2d 61 6c 6c 0a 20 |ction sc|an-all. |
|00004750| 20 20 20 20 20 20 20 5b | 27 5d 20 2e 6f 6e 65 2d | [|'] .one-|
|00004760| 64 61 74 61 20 69 73 20 | 73 63 61 6e 2d 61 63 74 |data is |scan-act|
|00004770| 69 6f 6e 0a 20 20 20 20 | 20 20 20 20 62 61 73 65 |ion. | base|
|00004780| 20 40 20 3e 72 20 64 65 | 63 69 6d 61 6c 20 73 63 | @ >r de|cimal sc|
|00004790| 61 6e 2d 61 6c 6c 20 20 | 72 3e 20 62 61 73 65 20 |an-all |r> base |
|000047a0| 21 0a 20 20 20 20 20 20 | 20 20 63 72 20 23 63 6f |!. | cr #co|
|000047b0| 6c 75 6d 6e 73 20 30 20 | 64 6f 20 5b 63 68 61 72 |lumns 0 |do [char|
|000047c0| 5d 20 5f 20 65 6d 69 74 | 20 6c 6f 6f 70 20 63 72 |] _ emit| loop cr|
|000047d0| 20 63 72 20 3b 0a 0a 3a | 20 70 72 6f 66 69 6c 65 | cr ;..:| profile|
|000047e0| 20 20 20 20 20 20 20 5c | 20 6e 61 6d 65 20 28 20 | \| name ( |
|000047f0| 2d 2d 20 29 20 6d 61 6b | 65 20 72 75 6e 74 69 6d |-- ) mak|e runtim|
|00004800| 65 2d 70 72 6f 66 69 6c | 65 20 6f 66 20 6e 61 6d |e-profil|e of nam|
|00004810| 65 0a 20 20 20 20 20 20 | 20 20 6e 65 77 20 27 0a |e. | new '.|
|00004820| 20 20 20 20 20 20 20 20 | 67 65 74 2d 74 69 63 6b | |get-tick|
|00004830| 73 20 3e 72 20 65 78 65 | 63 75 74 65 20 67 65 74 |s >r exe|cute get|
|00004840| 2d 74 69 63 6b 73 20 72 | 3e 20 2d 20 20 75 73 65 |-ticks r|> - use|
|00004850| 64 2d 74 69 6d 65 20 21 | 20 3b 0a 0a 3a 20 3a 20 |d-time !| ;..: : |
|00004860| 20 20 20 20 20 20 20 20 | 20 20 20 20 5c 20 6e 61 | | \ na|
|00004870| 6d 65 20 28 20 2d 2d 20 | 29 20 72 65 64 65 66 69 |me ( -- |) redefi|
|00004880| 6e 65 64 20 63 6f 6c 6f | 6e 2c 20 75 73 69 6e 67 |ned colo|n, using|
|00004890| 20 72 75 6e 74 69 6d 65 | 72 0a 20 20 20 20 20 20 | runtime|r. |
|000048a0| 20 20 72 75 6e 74 69 6d | 65 72 20 40 20 30 3d 20 | runtim|er @ 0= |
|000048b0| 69 66 20 3a 20 20 65 78 | 69 74 20 74 68 65 6e 0a |if : ex|it then.|
|000048c0| 20 20 20 20 20 20 20 20 | 74 69 6d 65 72 2d 6c 69 | |timer-li|
|000048d0| 6e 6b 20 6c 69 6e 6b 2d | 68 65 72 65 0a 20 20 20 |nk link-|here. |
|000048e0| 20 20 20 20 20 3a 09 09 | 09 5c 20 6d 61 6b 65 20 | :..|.\ make |
|000048f0| 61 20 63 6f 6c 6f 6e 20 | 64 65 66 69 6e 69 74 69 |a colon |definiti|
|00004900| 6f 6e 0a 20 20 20 20 20 | 20 20 20 70 6f 73 74 70 |on. | postp|
|00004910| 6f 6e 65 20 28 74 69 6d | 65 20 30 20 2c 20 30 20 |one (tim|e 0 , 0 |
|00004920| 2c 20 3b 20 69 6d 6d 65 | 64 69 61 74 65 0a 0a 6f |, ; imme|diate..o|
|00004930| 6e 6c 79 20 20 66 6f 72 | 74 68 20 61 6c 73 6f 20 |nly for|th also |
|00004940| 20 64 65 66 69 6e 69 74 | 69 6f 6e 73 20 20 64 65 | definit|ions de|
|00004950| 63 69 6d 61 6c 0a 72 75 | 6e 74 69 6d 65 72 20 6f |cimal.ru|ntimer o|
|00004960| 6e 0a 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |n.......|........|
|00004970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a00| 21 46 6f 72 74 68 6d 61 | 63 73 2e 65 78 74 65 6e |!Forthma|cs.exten|
|00004a10| 64 2e 70 72 69 6e 74 66 | 00 00 00 00 00 00 00 00 |d.printf|........|
|00004a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a60| 00 00 00 00 20 20 20 36 | 30 30 00 00 20 20 20 20 |.... 6|00.. |
|00004a70| 20 30 00 00 20 20 20 20 | 20 30 00 00 20 20 20 20 | 0.. | 0.. |
|00004a80| 20 20 20 31 32 37 35 00 | 20 36 31 35 30 36 31 31 | 1275.| 6150611|
|00004a90| 36 37 33 00 20 31 36 37 | 30 30 00 20 30 00 00 00 |673. 167|00. 0...|
|00004aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b00| 00 41 72 63 68 69 65 20 | 00 33 37 37 37 37 37 37 |.Archie |.3777777|
|00004b10| 37 35 30 36 00 33 32 32 | 32 33 32 31 37 35 32 34 |7506.322|23217524|
|00004b20| 00 20 20 20 20 20 20 20 | 20 20 20 33 00 34 36 20 |. | 3.46 |
|00004b30| 64 32 34 64 31 66 35 34 | 00 20 20 20 20 20 20 20 |d24d1f54|. |
|00004b40| 20 20 20 30 20 41 00 00 | 00 00 00 00 00 00 00 00 | 0 A..|........|
|00004b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c00| 3a 20 62 61 73 65 64 2e | 09 28 20 6e 20 62 61 73 |: based.|.( n bas|
|00004c10| 65 20 2d 2d 20 29 0a 09 | 62 61 73 65 20 40 20 2d |e -- )..|base @ -|
|00004c20| 72 6f 74 20 20 62 61 73 | 65 20 21 20 20 73 3e 64 |rot bas|e ! s>d|
|00004c30| 20 3c 23 20 23 73 20 23 | 3e 20 74 79 70 65 20 62 | <# #s #|> type b|
|00004c40| 61 73 65 20 21 20 3b 0a | 3a 20 78 65 6d 69 74 09 |ase ! ;.|: xemit.|
|00004c50| 09 28 20 63 68 61 72 20 | 2d 2d 20 29 0a 09 64 75 |.( char |-- )..du|
|00004c60| 70 20 6e 65 77 6c 69 6e | 65 20 3d 20 69 66 20 64 |p newlin|e = if d|
|00004c70| 72 6f 70 20 63 72 20 65 | 6c 73 65 20 65 6d 69 74 |rop cr e|lse emit|
|00004c80| 20 74 68 65 6e 20 20 3b | 0a 3a 20 2e 63 73 74 72 | then ;|.: .cstr|
|00004c90| 69 6e 67 09 28 20 61 64 | 72 20 2d 2d 20 29 0a 09 |ing.( ad|r -- )..|
|00004ca0| 62 65 67 69 6e 09 64 75 | 70 20 63 40 20 3f 64 75 |begin.du|p c@ ?du|
|00004cb0| 70 0a 09 77 68 69 6c 65 | 09 78 65 6d 69 74 20 63 |p..while|.xemit c|
|00004cc0| 68 61 72 2b 0a 09 72 65 | 70 65 61 74 20 20 64 72 |har+..re|peat dr|
|00004cd0| 6f 70 20 20 3b 0a 3a 20 | 70 72 69 6e 74 66 09 28 |op ;.: |printf.(|
|00004ce0| 20 61 72 67 6e 20 2e 2e | 20 61 72 67 31 20 66 6f | argn ..| arg1 fo|
|00004cf0| 72 6d 61 74 20 2d 2d 20 | 29 0a 09 09 28 20 2e 2e |rmat -- |)...( ..|
|00004d00| 2e 20 66 6f 72 6d 61 74 | 20 29 0a 09 62 65 67 69 |. format| )..begi|
|00004d10| 6e 09 64 75 70 20 63 40 | 20 3f 64 75 70 0a 09 77 |n.dup c@| ?dup..w|
|00004d20| 68 69 6c 65 09 64 75 70 | 20 5b 63 68 61 72 5d 20 |hile.dup| [char] |
|00004d30| 25 20 3c 3e 0a 09 09 69 | 66 09 65 6d 69 74 0a 09 |% <>...i|f.emit..|
|00004d40| 09 65 6c 73 65 20 20 20 | 09 64 72 6f 70 20 20 63 |.else |.drop c|
|00004d50| 68 61 72 2b 20 64 75 70 | 20 63 40 09 28 20 2e 2e |har+ dup| c@.( ..|
|00004d60| 2e 20 61 72 67 20 61 64 | 72 27 20 63 68 61 72 20 |. arg ad|r' char |
|00004d70| 29 0a 09 09 09 63 61 73 | 65 09 5b 63 68 61 72 5d |)....cas|e.[char]|
|00004d80| 20 63 20 6f 66 20 20 73 | 77 61 70 20 78 65 6d 69 | c of s|wap xemi|
|00004d90| 74 20 20 20 20 20 20 20 | 20 20 65 6e 64 6f 66 0a |t | endof.|
|00004da0| 09 09 09 09 5b 63 68 61 | 72 5d 20 73 20 6f 66 20 |....[cha|r] s of |
|00004db0| 20 73 77 61 70 20 2e 63 | 73 74 72 69 6e 67 20 20 | swap .c|string |
|00004dc0| 20 20 20 20 65 6e 64 6f | 66 0a 09 09 09 09 5b 63 | endo|f.....[c|
|00004dd0| 68 61 72 5d 20 78 20 6f | 66 20 20 73 77 61 70 20 |har] x o|f swap |
|00004de0| 64 23 20 31 36 20 62 61 | 73 65 64 2e 20 20 65 6e |d# 16 ba|sed. en|
|00004df0| 64 6f 66 0a 09 09 09 09 | 5b 63 68 61 72 5d 20 64 |dof.....|[char] d|
|00004e00| 20 6f 66 20 20 73 77 61 | 70 20 64 23 20 31 30 20 | of swa|p d# 10 |
|00004e10| 62 61 73 65 64 2e 20 20 | 65 6e 64 6f 66 0a 09 09 |based. |endof...|
|00004e20| 09 09 5b 63 68 61 72 5d | 20 6f 20 6f 66 20 20 73 |..[char]| o of s|
|00004e30| 77 61 70 20 64 23 20 20 | 38 20 62 61 73 65 64 2e |wap d# |8 based.|
|00004e40| 20 20 65 6e 64 6f 66 0a | 09 09 09 09 5b 63 68 61 | endof.|....[cha|
|00004e50| 72 5d 20 62 20 6f 66 20 | 20 73 77 61 70 20 64 23 |r] b of | swap d#|
|00004e60| 20 20 32 20 62 61 73 65 | 64 2e 20 20 65 6e 64 6f | 2 base|d. endo|
|00004e70| 66 0a 09 09 09 09 64 75 | 70 20 78 65 6d 69 74 09 |f.....du|p xemit.|
|00004e80| 28 20 64 65 66 61 75 6c | 74 20 29 0a 09 09 09 65 |( defaul|t )....e|
|00004e90| 6e 64 63 61 73 65 0a 09 | 09 74 68 65 6e 09 63 68 |ndcase..|.then.ch|
|00004ea0| 61 72 2b 09 28 20 61 64 | 72 27 20 29 0a 09 72 65 |ar+.( ad|r' )..re|
|00004eb0| 70 65 61 74 20 64 72 6f | 70 20 3b 0a 0a 00 00 00 |peat dro|p ;.....|
|00004ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005000| 21 46 6f 72 74 68 6d 61 | 63 73 2e 65 78 74 65 6e |!Forthma|cs.exten|
|00005010| 64 2e 61 72 6d 2e 72 75 | 6e 74 69 6d 65 72 00 00 |d.arm.ru|ntimer..|
|00005020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005060| 00 00 00 00 20 20 20 36 | 30 30 00 00 20 20 20 20 |.... 6|00.. |
|00005070| 20 30 00 00 20 20 20 20 | 20 30 00 00 20 20 20 20 | 0.. | 0.. |
|00005080| 20 20 20 32 30 37 34 00 | 20 36 31 35 35 36 32 35 | 2074.| 6155625|
|00005090| 35 34 34 00 20 32 30 30 | 32 37 00 20 30 00 00 00 |544. 200|27. 0...|
|000050a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005100| 00 41 72 63 68 69 65 20 | 00 33 37 37 37 37 37 37 |.Archie |.3777777|
|00005110| 37 35 30 36 00 33 33 32 | 31 31 34 35 36 36 32 30 |7506.332|11456620|
|00005120| 00 20 20 20 20 20 20 20 | 20 20 20 33 00 34 36 20 |. | 3.46 |
|00005130| 64 61 32 36 35 64 39 30 | 00 20 20 20 20 20 20 20 |da265d90|. |
|00005140| 20 20 20 30 20 41 00 00 | 00 00 00 00 00 00 00 00 | 0 A..|........|
|00005150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005200| 5c 20 63 70 75 2d 73 70 | 65 63 69 66 69 63 20 70 |\ cpu-sp|ecific p|
|00005210| 61 72 74 20 66 6f 72 20 | 74 68 65 20 72 75 6e 74 |art for |the runt|
|00005220| 69 6d 65 72 0a 6f 6e 6c | 79 20 66 6f 72 74 68 20 |imer.onl|y forth |
|00005230| 61 6c 73 6f 20 64 65 66 | 69 6e 69 74 69 6f 6e 73 |also def|initions|
|00005240| 20 20 64 65 63 69 6d 61 | 6c 0a 0a 31 30 30 30 30 | decima|l..10000|
|00005250| 20 63 6f 6e 73 74 61 6e | 74 20 75 73 65 63 2f 74 | constan|t usec/t|
|00005260| 69 63 6b 09 5c 20 31 30 | 30 68 7a 20 74 69 63 6b |ick.\ 10|0hz tick|
|00005270| 65 72 56 0a 0a 76 61 72 | 69 61 62 6c 65 20 74 69 |erV..var|iable ti|
|00005280| 63 6b 65 72 0a 63 6f 64 | 65 20 69 6e 74 65 72 72 |cker.cod|e interr|
|00005290| 75 70 74 2d 63 6f 64 65 | 0a 09 72 30 09 73 70 09 |upt-code|..r0.sp.|
|000052a0| 09 70 75 73 68 0a 09 72 | 30 09 27 62 6f 64 79 20 |.push..r|0.'body |
|000052b0| 74 69 63 6b 65 72 09 70 | 63 72 20 6c 64 72 0a 09 |ticker.p|cr ldr..|
|000052c0| 72 30 09 31 09 09 69 6e | 63 72 0a 09 72 30 09 27 |r0.1..in|cr..r0.'|
|000052d0| 62 6f 64 79 20 74 69 63 | 6b 65 72 09 70 63 72 20 |body tic|ker.pcr |
|000052e0| 73 74 72 0a 09 72 30 09 | 73 70 09 09 70 6f 70 0a |str..r0.|sp..pop.|
|000052f0| 09 70 63 09 6c 6b 09 09 | 73 20 6d 6f 76 20 65 6e |.pc.lk..|s mov en|
|00005300| 64 2d 63 6f 64 65 0a 0a | 5c 20 69 6e 73 74 61 6c |d-code..|\ instal|
|00005310| 6c 20 74 69 63 6b 65 72 | 20 69 6e 20 74 68 65 20 |l ticker| in the |
|00005320| 54 49 43 4b 45 52 56 0a | 63 6f 64 65 20 69 6e 73 |TICKERV.|code ins|
|00005330| 74 61 6c 6c 2d 74 69 63 | 6b 65 72 0a 09 72 30 09 |tall-tic|ker..r0.|
|00005340| 68 23 20 31 63 20 23 09 | 09 6d 6f 76 09 5c 20 76 |h# 1c #.|.mov.\ v|
|00005350| 65 63 74 6f 72 2d 69 64 | 20 66 6f 72 20 74 69 63 |ector-id| for tic|
|00005360| 6b 65 72 56 0a 09 72 31 | 09 27 62 6f 64 79 20 69 |kerV..r1|.'body i|
|00005370| 6e 74 65 72 72 75 70 74 | 2d 63 6f 64 65 20 61 64 |nterrupt|-code ad|
|00005380| 72 0a 09 72 32 09 30 20 | 23 09 09 6d 6f 76 0a 09 |r..r2.0 |#..mov..|
|00005390| 09 68 23 20 34 37 09 09 | 73 77 69 78 20 63 3b 20 |.h# 47..|swix c; |
|000053a0| 69 6e 73 74 61 6c 6c 2d | 74 69 63 6b 65 72 0a 0a |install-|ticker..|
|000053b0| 5c 20 72 65 6d 6f 76 65 | 2d 74 69 63 6b 65 72 20 |\ remove|-ticker |
|000053c0| 73 74 6f 70 73 20 74 69 | 63 6b 65 72 20 61 6e 64 |stops ti|cker and|
|000053d0| 20 72 65 6d 6f 76 65 73 | 20 74 68 65 20 72 6d 61 | removes| the rma|
|000053e0| 0a 63 6f 64 65 20 72 65 | 6d 6f 76 65 2d 74 69 63 |.code re|move-tic|
|000053f0| 6b 65 72 0a 09 72 30 09 | 68 23 20 31 63 20 23 09 |ker..r0.|h# 1c #.|
|00005400| 09 6d 6f 76 09 5c 20 69 | 64 20 66 6f 72 20 74 69 |.mov.\ i|d for ti|
|00005410| 63 6b 65 72 56 0a 09 72 | 31 20 20 27 62 6f 64 79 |ckerV..r|1 'body|
|00005420| 20 69 6e 74 65 72 72 75 | 70 74 2d 63 6f 64 65 20 | interru|pt-code |
|00005430| 61 64 72 0a 09 72 32 09 | 30 20 23 09 09 6d 6f 76 |adr..r2.|0 #..mov|
|00005440| 0a 09 09 68 23 20 32 30 | 09 09 73 77 69 78 20 63 |...h# 20|..swix c|
|00005450| 3b 09 5c 20 72 65 6c 65 | 61 73 65 20 74 69 63 6b |;.\ rele|ase tick|
|00005460| 65 72 56 0a 0a 63 6f 64 | 65 20 74 69 6d 65 29 09 |erV..cod|e time).|
|00005470| 5c 20 28 72 20 72 65 74 | 5f 74 6f 20 20 64 61 74 |\ (r ret|_to dat|
|00005480| 61 20 23 74 69 6d 65 20 | 2d 2d 20 29 20 70 6f 69 |a #time |-- ) poi|
|00005490| 6e 74 73 20 74 6f 20 74 | 68 65 20 66 6f 6c 6c 6f |nts to t|he follo|
|000054a0| 77 69 6e 67 20 63 6f 64 | 65 0a 09 68 65 72 65 20 |wing cod|e..here |
|000054b0| 2f 74 6f 6b 65 6e 20 2b | 20 74 6f 6b 65 6e 2c 0a |/token +| token,.|
|000054c0| 09 72 31 20 72 32 20 69 | 70 20 33 09 72 70 20 69 |.r1 r2 i|p 3.rp i|
|000054d0| 61 21 09 6c 64 6d 20 20 | 5c 20 72 31 3a 23 74 69 |a!.ldm |\ r1:#ti|
|000054e0| 6d 65 2c 20 72 32 3a 6e | 65 78 74 2d 69 70 0a 09 |me, r2:n|ext-ip..|
|000054f0| 72 30 09 27 62 6f 64 79 | 20 74 69 63 6b 65 72 09 |r0.'body| ticker.|
|00005500| 70 63 72 20 6c 64 72 0a | 09 72 30 09 72 30 09 72 |pcr ldr.|.r0.r0.r|
|00005510| 31 09 73 75 62 20 20 5c | 20 72 30 3a 75 73 65 64 |1.sub \| r0:used|
|00005520| 20 74 69 6d 65 0a 09 72 | 33 20 72 34 09 32 20 09 | time..r|3 r4.2 .|
|00005530| 72 32 20 64 62 21 09 6c | 64 6d 20 20 5c 20 72 33 |r2 db!.l|dm \ r3|
|00005540| 3a 63 61 6c 6c 73 20 72 | 34 3a 74 69 6d 65 0a 09 |:calls r|4:time..|
|00005550| 72 33 09 31 09 09 69 6e | 63 72 0a 09 72 34 09 72 |r3.1..in|cr..r4.r|
|00005560| 34 09 72 30 09 61 64 64 | 09 09 09 09 09 09 09 20 |4.r0.add|....... |
|00005570| 20 0a 09 72 33 20 72 34 | 20 32 20 72 32 20 69 61 | ..r3 r4| 2 r2 ia|
|00005580| 21 09 09 73 74 6d 20 63 | 3b 0a 0a 63 6f 64 65 20 |!..stm c|;..code |
|00005590| 28 74 69 6d 65 09 5c 20 | 28 72 20 72 65 74 5f 74 |(time.\ |(r ret_t|
|000055a0| 6f 20 2d 2d 20 72 65 74 | 5f 74 6f 20 20 6e 65 78 |o -- ret|_to nex|
|000055b0| 74 2d 69 70 20 23 74 69 | 6d 65 20 27 74 69 6d 65 |t-ip #ti|me 'time|
|000055c0| 72 3e 20 29 0a 09 72 31 | 09 27 62 6f 64 79 20 74 |r> )..r1|.'body t|
|000055d0| 69 63 6b 65 72 09 70 63 | 72 20 6c 64 72 0a 09 72 |icker.pc|r ldr..r|
|000055e0| 30 09 27 62 6f 64 79 20 | 74 69 6d 65 29 09 61 64 |0.'body |time).ad|
|000055f0| 72 0a 09 69 70 09 32 20 | 63 65 6c 6c 73 09 09 69 |r..ip.2 |cells..i|
|00005600| 6e 63 72 0a 09 72 30 20 | 72 31 20 69 70 20 33 09 |ncr..r0 |r1 ip 3.|
|00005610| 72 70 20 64 62 21 09 73 | 74 6d 20 63 3b 0a 0a 0a |rp db!.s|tm c;...|
|00005620| 6f 6e 6c 79 20 66 6f 72 | 74 68 20 61 6c 73 6f 20 |only for|th also |
|00005630| 64 65 66 69 6e 69 74 69 | 6f 6e 73 0a 00 00 00 00 |definiti|ons.....|
|00005640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005800| 21 46 6f 72 74 68 6d 61 | 63 73 2e 65 78 74 65 6e |!Forthma|cs.exten|
|00005810| 64 2e 73 68 6f 77 73 70 | 61 63 65 00 00 00 00 00 |d.showsp|ace.....|
|00005820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005860| 00 00 00 00 20 20 20 36 | 30 30 00 00 20 20 20 20 |.... 6|00.. |
|00005870| 20 30 00 00 20 20 20 20 | 20 30 00 00 20 20 20 20 | 0.. | 0.. |
|00005880| 20 20 20 20 34 32 36 00 | 20 35 36 35 30 34 34 31 | 426.| 5650441|
|00005890| 35 36 35 00 20 31 37 35 | 33 37 00 20 30 00 00 00 |565. 175|37. 0...|
|000058a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005900| 00 41 72 63 68 69 65 20 | 00 33 37 37 37 37 37 37 |.Archie |.3777777|
|00005910| 37 35 30 35 00 32 34 35 | 37 36 37 34 31 37 34 36 |7505.245|76741746|
|00005920| 00 20 20 20 20 20 20 20 | 20 20 20 33 00 34 35 20 |. | 3.45 |
|00005930| 61 35 66 62 63 33 65 36 | 00 20 20 20 20 20 20 20 |a5fbc3e6|. |
|00005940| 20 20 20 30 20 41 00 00 | 00 00 00 00 00 00 00 00 | 0 A..|........|
|00005950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a00| 5c 20 73 68 6f 77 2d 73 | 70 61 63 65 20 20 28 20 |\ show-s|pace ( |
|00005a10| 2d 2d 20 29 20 20 20 20 | 64 69 73 70 6c 61 79 73 |-- ) |displays|
|00005a20| 20 74 68 65 20 61 6d 6f | 75 6e 74 20 6f 66 20 72 | the amo|unt of r|
|00005a30| 65 6d 61 69 6e 69 6e 67 | 20 73 70 61 63 65 20 69 |emaining| space i|
|00005a40| 6e 20 74 68 65 0a 5c 20 | 20 20 20 20 20 20 20 20 |n the.\ | |
|00005a50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 72 65 | | re|
|00005a60| 73 69 64 65 6e 74 20 61 | 6e 64 20 74 72 61 6e 73 |sident a|nd trans|
|00005a70| 69 65 6e 74 20 64 69 63 | 74 69 6f 6e 61 72 69 65 |ient dic|tionarie|
|00005a80| 73 0a 0a 3a 20 73 68 6f | 77 2d 73 70 61 63 65 09 |s..: sho|w-space.|
|00005a90| 28 20 2d 2d 20 29 0a 09 | 62 61 73 65 20 40 20 3e |( -- )..|base @ >|
|00005aa0| 72 20 64 65 63 69 6d 61 | 6c 0a 09 2e 22 20 42 79 |r decima|l..." By|
|00005ab0| 74 65 73 20 61 76 61 69 | 6c 61 62 6c 65 20 28 64 |tes avai|lable (d|
|00005ac0| 65 63 69 6d 61 6c 29 3a | 20 52 65 73 69 64 65 6e |ecimal):| Residen|
|00005ad0| 74 3a 20 22 20 6c 69 6d | 69 74 20 68 65 72 65 20 |t: " lim|it here |
|00005ae0| 2d 20 2e 0a 09 2e 22 20 | 20 54 72 61 6e 73 69 65 |- ...." | Transie|
|00005af0| 6e 74 20 22 20 68 65 64 | 67 65 20 74 68 65 72 65 |nt " hed|ge there|
|00005b00| 20 2d 20 2e 20 20 63 72 | 0a 09 72 3e 20 62 61 73 | - . cr|..r> bas|
|00005b10| 65 20 21 20 3b 0a 00 00 | 00 00 00 00 00 00 00 00 |e ! ;...|........|
|00005b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c00| 21 46 6f 72 74 68 6d 61 | 63 73 2e 65 78 74 65 6e |!Forthma|cs.exten|
|00005c10| 64 2e 73 74 61 63 6b 63 | 68 65 63 6b 00 00 00 00 |d.stackc|heck....|
|00005c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c60| 00 00 00 00 20 20 20 36 | 30 30 00 00 20 20 20 20 |.... 6|00.. |
|00005c70| 20 30 00 00 20 20 20 20 | 20 30 00 00 20 20 20 20 | 0.. | 0.. |
|00005c80| 20 20 20 32 36 37 37 00 | 20 36 31 35 37 35 33 34 | 2677.| 6157534|
|00005c90| 37 36 35 00 20 31 37 35 | 37 34 00 20 30 00 00 00 |765. 175|74. 0...|
|00005ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d00| 00 41 72 63 68 69 65 20 | 00 33 37 37 37 37 37 37 |.Archie |.3777777|
|00005d10| 37 35 30 36 00 33 33 35 | 30 36 34 30 37 30 32 34 |7506.335|06407024|
|00005d20| 00 20 20 20 20 20 20 20 | 20 20 20 33 00 34 36 20 |. | 3.46 |
|00005d30| 64 64 31 61 30 65 31 34 | 00 20 20 20 20 20 20 20 |dd1a0e14|. |
|00005d40| 20 20 20 30 20 41 00 00 | 00 00 00 00 00 00 00 00 | 0 A..|........|
|00005d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e00| 5c 20 41 75 74 6f 6d 61 | 74 69 63 20 63 68 65 63 |\ Automa|tic chec|
|00005e10| 6b 65 72 20 66 6f 72 20 | 73 74 61 63 6b 20 69 6e |ker for |stack in|
|00005e20| 74 65 67 72 69 74 79 2e | 0a 5c 20 55 73 65 20 61 |tegrity.|.\ Use a|
|00005e30| 73 3a 20 20 0a 5c 20 20 | 20 3a 20 6e 61 6d 65 20 |s: .\ | : name |
|00005e40| 20 28 73 20 70 61 72 61 | 6d 20 2d 2d 20 70 61 72 | (s para|m -- par|
|00005e50| 61 6d 32 20 70 61 72 61 | 6d 33 20 70 61 72 61 6d |am2 para|m3 param|
|00005e60| 34 20 29 0a 5c 20 20 20 | 20 20 20 20 2e 2e 2e 0a |4 ).\ | ....|
|00005e70| 5c 20 20 20 3b 0a 5c 20 | 54 68 65 20 28 73 20 63 |\ ;.\ |The (s c|
|00005e80| 6f 75 6e 74 73 20 70 61 | 72 61 6d 65 74 65 72 73 |ounts pa|rameters|
|00005e90| 20 69 6e 20 74 68 65 20 | 73 74 61 63 6b 20 63 6f | in the |stack co|
|00005ea0| 6d 6d 65 6e 74 2c 20 61 | 6e 64 20 63 68 65 63 6b |mment, a|nd check|
|00005eb0| 73 20 61 74 20 72 75 6e | 0a 5c 20 74 69 6d 65 20 |s at run|.\ time |
|00005ec0| 66 6f 72 20 74 68 65 20 | 70 72 6f 70 65 72 20 63 |for the |proper c|
|00005ed0| 68 61 6e 67 65 20 69 6e | 20 73 74 61 63 6b 20 64 |hange in| stack d|
|00005ee0| 65 70 74 68 20 62 65 74 | 77 65 65 6e 20 74 68 65 |epth bet|ween the|
|00005ef0| 20 73 74 61 72 74 20 6f | 66 0a 5c 20 74 68 65 20 | start o|f.\ the |
|00005f00| 77 6f 72 64 20 61 6e 64 | 20 74 68 65 20 65 6e 64 |word and| the end|
|00005f10| 2e 20 20 50 61 72 61 6d | 73 20 6d 75 73 74 20 62 |. Param|s must b|
|00005f20| 65 20 73 65 70 61 72 61 | 74 65 64 20 62 79 20 73 |e separa|ted by s|
|00005f30| 70 61 63 65 73 2e 0a 5c | 20 27 2d 2d 27 20 61 6e |paces..\| '--' an|
|00005f40| 64 20 27 29 27 20 6d 75 | 73 74 20 62 65 20 73 70 |d ')' mu|st be sp|
|00005f50| 65 6c 6c 65 64 20 61 73 | 20 73 68 6f 77 6e 20 61 |elled as| shown a|
|00005f60| 6e 64 20 73 65 70 61 72 | 61 74 65 64 20 62 79 20 |nd separ|ated by |
|00005f70| 73 70 61 63 65 73 2e 0a | 5c 0a 5c 20 54 68 69 73 |spaces..|\.\ This|
|00005f80| 20 66 65 61 74 75 72 65 | 20 69 73 20 65 6e 61 62 | feature| is enab|
|00005f90| 6c 65 64 20 6f 72 20 64 | 69 73 61 62 6c 65 64 20 |led or d|isabled |
|00005fa0| 77 69 74 68 3a 0a 5c 20 | 20 20 20 20 73 74 61 63 |with:.\ | stac|
|00005fb0| 6b 63 68 65 63 6b 20 6f | 6e 20 20 2d 6f 72 2d 20 |kcheck o|n -or- |
|00005fc0| 20 73 74 61 63 6b 63 68 | 65 63 6b 20 6f 66 66 0a | stackch|eck off.|
|00005fd0| 5c 0a 5c 20 44 65 66 61 | 75 6c 74 20 76 61 6c 75 |\.\ Defa|ult valu|
|00005fe0| 65 20 69 73 20 4f 46 46 | 0a 0a 76 61 72 69 61 62 |e is OFF|..variab|
|00005ff0| 6c 65 20 73 74 61 63 6b | 63 68 65 63 6b 20 20 73 |le stack|check s|
|00006000| 74 61 63 6b 63 68 65 63 | 6b 20 6f 66 66 0a 0a 3a |tackchec|k off..:|
|00006010| 20 63 68 65 63 6b 2d 73 | 74 61 63 6b 09 28 20 2d | check-s|tack.( -|
|00006020| 2d 20 29 09 28 20 72 73 | 3a 20 6e 65 78 74 2d 61 |- ).( rs|: next-a|
|00006030| 63 66 20 65 78 70 65 63 | 74 65 64 2d 64 65 70 74 |cf expec|ted-dept|
|00006040| 68 20 62 6f 67 75 73 2d | 61 63 66 20 2d 2d 20 29 |h bogus-|acf -- )|
|00006050| 0a 09 72 3e 20 64 72 6f | 70 20 64 65 70 74 68 20 |..r> dro|p depth |
|00006060| 72 3e 20 3d 0a 09 69 66 | 09 5b 27 5d 20 3b 20 20 |r> =..if|.['] ; |
|00006070| 20 63 6f 6d 70 69 6c 65 | 2c 0a 09 65 6c 73 65 09 | compile|,..else.|
|00006080| 65 72 72 6f 72 2d 6f 75 | 74 70 75 74 20 3f 3f 63 |error-ou|tput ??c|
|00006090| 72 0a 09 09 72 70 30 20 | 40 20 20 72 70 40 20 20 |r...rp0 |@ rp@ |
|000060a0| 5b 20 61 6c 73 6f 20 68 | 69 64 64 65 6e 20 5d 20 |[ also h|idden ] |
|000060b0| 28 72 73 74 72 61 63 65 | 20 5b 20 70 72 65 76 69 |(rstrace| [ previ|
|000060c0| 6f 75 73 20 5d 0a 09 09 | 72 65 73 74 6f 72 65 2d |ous ]...|restore-|
|000060d0| 6f 75 74 70 75 74 20 64 | 23 20 2d 33 33 34 20 74 |output d|# -334 t|
|000060e0| 68 72 6f 77 0a 09 74 68 | 65 6e 20 3b 0a 76 61 72 |hrow..th|en ;.var|
|000060f0| 69 61 62 6c 65 20 63 68 | 65 63 6b 65 72 09 5c 20 |iable ch|ecker.\ |
|00006100| 44 75 6d 6d 79 20 76 61 | 72 69 61 62 6c 65 2c 20 |Dummy va|riable, |
|00006110| 74 6f 20 68 6f 6c 64 20 | 61 63 66 20 6f 66 20 63 |to hold |acf of c|
|00006120| 68 65 63 6b 2d 73 74 61 | 63 6b 0a 27 20 63 68 65 |heck-sta|ck.' che|
|00006130| 63 6b 2d 73 74 61 63 6b | 20 63 68 65 63 6b 65 72 |ck-stack| checker|
|00006140| 20 21 0a 0a 3a 20 70 63 | 6f 6d 70 09 09 28 20 70 | !..: pc|omp..( p|
|00006150| 73 74 72 31 20 70 73 74 | 72 32 20 2d 2d 20 6e 20 |str1 pst|r2 -- n |
|00006160| 29 09 5c 20 30 20 69 66 | 20 74 68 65 20 73 61 6d |).\ 0 if| the sam|
|00006170| 65 0a 09 63 6f 75 6e 74 | 20 20 72 6f 74 20 63 6f |e..count| rot co|
|00006180| 75 6e 74 20 20 28 20 61 | 64 64 72 32 20 6c 65 6e |unt ( a|ddr2 len|
|00006190| 32 20 61 64 64 72 31 20 | 6c 65 6e 31 20 29 0a 09 |2 addr1 |len1 )..|
|000061a0| 72 6f 74 20 6d 61 78 20 | 20 63 6f 6d 70 20 3b 0a |rot max | comp ;.|
|000061b0| 0a 3a 20 72 65 61 64 2d | 73 74 61 63 6b 20 20 28 |.: read-|stack (|
|000061c0| 20 2d 2d 20 2b 2d 64 65 | 70 74 68 20 29 0a 09 30 | -- +-de|pth )..0|
|000061d0| 0a 09 62 65 67 69 6e 09 | 62 6c 77 6f 72 64 20 20 |..begin.|blword |
|000061e0| 70 22 20 2d 2d 22 20 20 | 70 63 6f 6d 70 0a 09 77 |p" --" |pcomp..w|
|000061f0| 68 69 6c 65 09 31 2d 0a | 09 72 65 70 65 61 74 0a |hile.1-.|.repeat.|
|00006200| 09 62 65 67 69 6e 09 62 | 6c 77 6f 72 64 20 20 70 |.begin.b|lword p|
|00006210| 22 20 29 22 20 20 20 70 | 63 6f 6d 70 0a 09 77 68 |" )" p|comp..wh|
|00006220| 69 6c 65 20 20 31 2b 0a | 09 72 65 70 65 61 74 20 |ile 1+.|.repeat |
|00006230| 3b 0a 0a 61 6c 69 61 73 | 20 6f 6c 64 2d 28 73 20 |;..alias| old-(s |
|00006240| 20 28 73 0a 0a 5c 20 41 | 74 20 63 6f 6d 70 69 6c | (s..\ A|t compil|
|00006250| 65 20 74 69 6d 65 2c 20 | 63 6f 75 6e 74 20 73 74 |e time, |count st|
|00006260| 61 63 6b 20 69 74 65 6d | 73 20 69 6e 20 74 68 65 |ack item|s in the|
|00006270| 20 63 6f 6d 6d 65 6e 74 | 20 66 6f 72 20 65 78 70 | comment| for exp|
|00006280| 65 63 74 65 64 20 6f 66 | 66 73 65 74 0a 5c 20 41 |ected of|fset.\ A|
|00006290| 74 20 72 75 6e 20 74 69 | 6d 65 2c 20 70 75 73 68 |t run ti|me, push|
|000062a0| 20 63 75 72 72 65 6e 74 | 2d 64 65 70 74 68 20 2b | current|-depth +|
|000062b0| 2d 6f 66 66 73 65 74 20 | 6f 6e 74 6f 20 72 73 3a |-offset |onto rs:|
|000062c0| 2c 20 74 68 65 6e 20 70 | 75 73 68 20 63 68 65 63 |, then p|ush chec|
|000062d0| 6b 2d 61 63 66 0a 3a 20 | 28 73 09 5c 20 73 74 61 |k-acf.: |(s.\ sta|
|000062e0| 63 6b 2d 69 6e 20 2d 2d | 20 73 74 61 63 6b 2d 6f |ck-in --| stack-o|
|000062f0| 75 74 20 29 20 20 28 20 | 2d 2d 20 29 0a 09 28 20 |ut ) ( |-- )..( |
|00006300| 72 73 3a 20 2d 2d 20 70 | 72 6f 70 65 72 2d 64 65 |rs: -- p|roper-de|
|00006310| 70 74 68 20 63 68 65 63 | 6b 2d 61 63 66 20 29 0a |pth chec|k-acf ).|
|00006320| 09 73 74 61 63 6b 63 68 | 65 63 6b 20 40 0a 09 69 |.stackch|eck @..i|
|00006330| 66 09 70 6f 73 74 70 6f | 6e 65 20 64 65 70 74 68 |f.postpo|ne depth|
|00006340| 0a 09 09 72 65 61 64 2d | 73 74 61 63 6b 20 64 6f |...read-|stack do|
|00006350| 2d 6c 69 74 65 72 61 6c | 0a 09 09 70 6f 73 74 70 |-literal|...postp|
|00006360| 6f 6e 65 20 2b 20 20 70 | 6f 73 74 70 6f 6e 65 20 |one + p|ostpone |
|00006370| 3e 72 0a 09 09 63 68 65 | 63 6b 65 72 20 20 64 6f |>r...che|cker do|
|00006380| 2d 6c 69 74 65 72 61 6c | 20 20 70 6f 73 74 70 6f |-literal| postpo|
|00006390| 6e 65 20 3e 72 0a 09 65 | 6c 73 65 09 70 6f 73 74 |ne >r..e|lse.post|
|000063a0| 70 6f 6e 65 20 6f 6c 64 | 2d 28 73 0a 09 74 68 65 |pone old|-(s..the|
|000063b0| 6e 20 3b 20 69 6d 6d 65 | 64 69 61 74 65 0a 0a 00 |n ; imme|diate...|
|000063c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.